Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009408, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7774, allocations: 142.3 MB / 0.9539 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001581/0.779, allocations: 1.202 MB / 0.955 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.7803, allocations: 0.6759 MB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.7804, allocations: 0.8438 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.7804, allocations: 7.938 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.7805, allocations: 10.7 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.7811, allocations: 99.64 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.7813, allocations: 62.5 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.7814, allocations: 16.03 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/0.7815, allocations: 25.73 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.7816, allocations: 34.8 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.7816, allocations: 7.844 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.7818, allocations: 80.52 kB / 0.956 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.7819, allocations: 15.12 kB / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.7819, allocations: 38.52 kB / 0.9561 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.7821, allocations: 96.42 kB / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.7821, allocations: 0 / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.148e-06/0.7821, allocations: 0 / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.7822, allocations: 0 / 0.9562 GB, free: 6.371 MB / 0.7169 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.0006608/0.7828, allocations: 414.1 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.7829, allocations: 8.812 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.7829, allocations: 33.03 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.783, allocations: 11.33 kB / 0.9566 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.7831, allocations: 178.5 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.7831, allocations: 6.344 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.7832, allocations: 3.406 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.7834, allocations: 66.34 kB / 0.9568 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7834, allocations: 5.125 kB / 0.9569 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.7834, allocations: 4 kB / 0.9569 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.7834, allocations: 5.109 kB / 0.9569 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.7836, allocations: 42.25 kB / 0.9569 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.7842, allocations: 321.7 kB / 0.9572 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.7843, allocations: 55.89 kB / 0.9573 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.7844, allocations: 34.09 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.7844, allocations: 5.312 kB / 0.9573 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.7846, allocations: 83.52 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.7846, allocations: 3.938 kB / 0.9574 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003799/0.785, allocations: 152.2 kB / 0.9575 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.7851, allocations: 53.41 kB / 0.9576 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.7851, allocations: 121.6 kB / 0.9577 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.7852, allocations: 29.7 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.7852, allocations: 87.02 kB / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.7852, allocations: 18.17 kB / 0.9578 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.7852, allocations: 1.281 kB / 0.9578 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.7853, allocations: 316.3 kB / 0.9581 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.7854, allocations: 29.17 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.7855, allocations: 54.77 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/0.7856, allocations: 48.8 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7856, allocations: 0 / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002114/0.7858, allocations: 118.7 kB / 0.9584 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7858, allocations: 8.891 kB / 0.9584 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7858, allocations: 0 / 0.9584 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7859, allocations: 2.25 kB / 0.9584 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.786, allocations: 13.03 kB / 0.9584 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.786, allocations: 9.391 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.786, allocations: 8.562 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.7861, allocations: 3.062 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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 7.322e-05/0.7861, allocations: 119.9 kB / 0.9585 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.7862, allocations: 10.78 kB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.7862, allocations: 13.78 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7862, allocations: 5.5 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7862, allocations: 4 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7862, allocations: 0 / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.7866, allocations: 389.2 kB / 0.9589 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7866, allocations: 0 / 0.9589 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.7867, allocations: 7.984 kB / 0.9589 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7867, allocations: 0 / 0.9589 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.7867, allocations: 9.172 kB / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7867, allocations: 1.406 kB / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7867, allocations: 0 / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.787, allocations: 211.5 kB / 0.9591 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.787, allocations: 82.8 kB / 0.9592 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.787, allocations: 11.94 kB / 0.9592 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.7871, allocations: 5.375 kB / 0.9592 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.7872, allocations: 5.766 kB / 0.9592 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.7872, allocations: 1.812 kB / 0.9592 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.7872, allocations: 101.5 kB / 0.9593 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7872, allocations: 0 / 0.9593 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003454/0.7876, allocations: 35.5 kB / 0.9594 GB, free: 3.328 MB / 0.7169 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0009129/0.7885, allocations: 0.8138 MB / 0.9602 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.7888, allocations: 77.58 kB / 0.9602 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7888, allocations: 1.375 kB / 0.9602 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.7889, allocations: 41.97 kB / 0.9603 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.7892, allocations: 8.406 kB / 0.9603 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.7904, allocations: 0.5939 MB / 0.9609 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.7906, allocations: 0.6937 MB / 0.9616 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.369e-05/0.7906, allocations: 7.875 kB / 0.9616 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.7907, allocations: 18.36 kB / 0.9616 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7907, allocations: 4 kB / 0.9616 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.8039, allocations: 2.332 MB / 0.9639 GB, free: 228 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.8041, allocations: 243.4 kB / 0.9641 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.626, allocations: 3.375 kB / 0.9641 GB, free: 15.98 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat does not exist to compare? outputFormat=mat