Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 180.9 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009192/0.0009194, allocations: 85.8 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.779e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.788/0.9823, allocations: 134 MB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.9826, allocations: 82.44 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008714/0.9913, allocations: 2.954 MB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9913, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.9913, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005316/0.9919, allocations: 418.7 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.9919, allocations: 11.97 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.9919, allocations: 4 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.9921, allocations: 170.9 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.9921, allocations: 8 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.9922, allocations: 4 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.766e-05/0.9922, allocations: 24.8 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.9924, allocations: 53.67 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9924, allocations: 0 / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9924, allocations: 3.938 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9924, allocations: 4.875 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.993, allocations: 290.2 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.433e-05/0.9931, allocations: 33.27 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.9932, allocations: 23.92 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.9932, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.9933, allocations: 73.64 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.9933, allocations: 3.938 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002842/0.9936, allocations: 93.7 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.9937, allocations: 58.78 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.9938, allocations: 113.8 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.9938, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.9939, allocations: 91.47 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.9939, allocations: 16.44 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.9939, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9941, allocations: 329.8 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.708e-05/0.9941, allocations: 14.56 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.9942, allocations: 41.94 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.9943, allocations: 26.8 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9943, allocations: 3.938 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001564/0.9944, allocations: 100.1 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9945, allocations: 8 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9945, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9945, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.9946, allocations: 19.92 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.9946, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.9947, allocations: 11.89 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.9947, allocations: 7.688 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.9948, allocations: 116.9 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001502/0.995, allocations: 94.41 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.995, allocations: 7.906 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.995, allocations: 7.562 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.995, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9951, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9951, allocations: 11.94 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.9954, allocations: 330.1 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9954, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.9955, allocations: 8 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.9955, allocations: 3.984 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.9955, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9955, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9955, allocations: 7.953 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.9957, allocations: 194.3 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.9958, allocations: 81.02 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.9958, allocations: 7.984 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.9959, allocations: 4 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.996, allocations: 11.94 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.996, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.9961, allocations: 95.12 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9961, allocations: 3.938 kB / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003313/0.9964, allocations: 47.92 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006947/0.9971, allocations: 0.7912 MB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.9973, allocations: 58.16 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9973, allocations: 128 / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.9973, allocations: 30.88 kB / 1.023 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.9975, allocations: 11.92 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.998, allocations: 148.8 kB / 1.023 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.9983, allocations: 0.6885 MB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.9984, allocations: 4.188 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.9984, allocations: 26.61 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9984, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/1.019, allocations: 2.201 MB / 1.026 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/1.02, allocations: 189.6 kB / 1.026 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.543, allocations: 3.875 kB / 1.026 GB, free: 9.648 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)