Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 170.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.1 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 100.3 kB / 0.9346 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004124, allocations: 14.12 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2402, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.4123, allocations: 151.5 MB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4126, allocations: 83.94 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.01047/0.423, allocations: 3.286 MB / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4231, allocations: 0 / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4231, allocations: 0 / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006382/0.4237, allocations: 478.2 kB / 1.375 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4238, allocations: 8.031 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.4238, allocations: 38.55 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.4239, allocations: 11.86 kB / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.424, allocations: 167 kB / 1.375 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.424, allocations: 8 kB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.4241, allocations: 7.984 kB / 1.375 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.4243, allocations: 93.58 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4243, allocations: 0 / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4244, allocations: 0 / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4244, allocations: 4 kB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.4245, allocations: 51.95 kB / 1.375 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.4253, allocations: 340.8 kB / 1.375 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.4255, allocations: 62.59 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4255, allocations: 0 / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.4257, allocations: 103.5 kB / 1.375 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.4258, allocations: 0 / 1.375 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0005557/0.4263, allocations: 201.4 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4264, allocations: 55.41 kB / 1.376 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.4265, allocations: 124.8 kB / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4265, allocations: 29.7 kB / 1.376 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.4266, allocations: 92.05 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.4266, allocations: 11.81 kB / 1.376 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.4266, allocations: 4 kB / 1.376 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4267, allocations: 318.8 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.4268, allocations: 39.97 kB / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.4269, allocations: 60.28 kB / 1.376 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4271, allocations: 43.98 kB / 1.376 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4271, allocations: 0 / 1.376 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002725/0.4273, allocations: 137.4 kB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4274, allocations: 8 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4274, allocations: 0 / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4274, allocations: 4.094 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4275, allocations: 23.92 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4275, allocations: 7.953 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.4276, allocations: 7.938 kB / 1.377 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4276, allocations: 4 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001031/0.4278, allocations: 122.8 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.4278, allocations: 11.89 kB / 1.377 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.4278, allocations: 8.375 kB / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4278, allocations: 0 / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4278, allocations: 0 / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4278, allocations: 3.953 kB / 1.377 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.4284, allocations: 434.4 kB / 1.377 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4284, allocations: 8 kB / 1.377 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.4285, allocations: 7.984 kB / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4285, allocations: 0 / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4285, allocations: 0 / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4285, allocations: 3.953 kB / 1.377 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4285, allocations: 0 / 1.377 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.4289, allocations: 259.8 kB / 1.377 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.429, allocations: 93 kB / 1.378 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.429, allocations: 0 / 1.378 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4291, allocations: 4 kB / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.4292, allocations: 15.94 kB / 1.378 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4292, allocations: 4 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.4293, allocations: 91.27 kB / 1.378 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4293, allocations: 8 kB / 1.378 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003767/0.4297, allocations: 51.92 kB / 1.378 GB, free: 3.07 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001155/0.4308, allocations: 0.8565 MB / 1.379 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.4312, allocations: 99.86 kB / 1.379 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4312, allocations: 4.188 kB / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.4313, allocations: 43.98 kB / 1.379 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.4315, allocations: 19.88 kB / 1.379 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4325, allocations: 1.063 MB / 1.38 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4328, allocations: 0.6926 MB / 1.38 GB, free: 192 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.4329, allocations: 4 kB / 1.38 GB, free: 188 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.433, allocations: 23.42 kB / 1.38 GB, free: 164 kB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/0.433, allocations: 0 / 1.38 GB, free: 164 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.4473, allocations: 2.816 MB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.4476, allocations: 230.5 kB / 1.383 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.99, allocations: 0 / 1.383 GB, free: 13.26 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat