Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001404/0.001404, allocations: 98.44 kB / 15.05 MB, free: 1.105 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.001723/0.001723, allocations: 177.3 kB / 15.95 MB, free: 216 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.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.55/2.55, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003558, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7664, allocations: 142.3 MB / 0.9536 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001641/0.7681, allocations: 1.212 MB / 0.9548 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.7692, allocations: 0.708 MB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.7692, allocations: 1.031 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.7693, allocations: 0 / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.7693, allocations: 14.8 kB / 0.9555 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.7698, allocations: 107.6 kB / 0.9556 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.77, allocations: 55.41 kB / 0.9556 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.7701, allocations: 18.08 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.7702, allocations: 38.58 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.7703, allocations: 51.72 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.7703, allocations: 4.031 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.7705, allocations: 68.83 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.7705, allocations: 16.11 kB / 0.9558 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.7706, allocations: 39.34 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.7708, allocations: 121 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7708, allocations: 0 / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7708, allocations: 0 / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.7708, allocations: 0 / 0.956 GB, free: 6.441 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006856/0.7715, allocations: 440.8 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.7716, allocations: 13.09 kB / 0.9564 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.7716, allocations: 39.58 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.7717, allocations: 11.73 kB / 0.9565 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.7718, allocations: 175.2 kB / 0.9566 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.7718, allocations: 6.75 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.7719, allocations: 5.062 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.7721, allocations: 84.69 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7722, allocations: 5.219 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.7722, allocations: 7.984 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.7722, allocations: 1.125 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.7724, allocations: 59.42 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.7732, allocations: 342.2 kB / 0.9571 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.7734, allocations: 64.98 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.7734, allocations: 1.188 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.7737, allocations: 109.5 kB / 0.9573 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.7737, allocations: 5.125 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0006211/0.7743, allocations: 188 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.7744, allocations: 60.77 kB / 0.9575 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.7745, allocations: 127.6 kB / 0.9576 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.7745, allocations: 30.83 kB / 0.9577 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.7746, allocations: 99.36 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.7746, allocations: 14.09 kB / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-06/0.7746, allocations: 5.125 kB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.7747, allocations: 325.2 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.7748, allocations: 31.11 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.7749, allocations: 69.05 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.775, allocations: 38.45 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7751, allocations: 0 / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002955/0.7754, allocations: 138 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.7754, allocations: 6.031 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7754, allocations: 2.625 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.7754, allocations: 5.078 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.7756, allocations: 16.27 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7756, allocations: 5.25 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.7757, allocations: 21.86 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.7757, allocations: 8.391 kB / 0.9584 GB, free: 4.172 MB / 0.7169 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 8.044e-05/0.7758, allocations: 117.5 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.7758, allocations: 8.375 kB / 0.9585 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.7758, allocations: 17.95 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7758, allocations: 5.641 kB / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7758, allocations: 0 / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7758, allocations: 4 kB / 0.9586 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.7763, allocations: 432.7 kB / 0.959 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7764, allocations: 0 / 0.959 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.7764, allocations: 8.266 kB / 0.959 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.7764, allocations: 9.828 kB / 0.959 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.7764, allocations: 48 / 0.959 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7764, allocations: 1.25 kB / 0.959 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7764, allocations: 7.969 kB / 0.959 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.7768, allocations: 249.8 kB / 0.9592 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.7768, allocations: 86.73 kB / 0.9593 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.7769, allocations: 9.797 kB / 0.9593 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.777, allocations: 9.453 kB / 0.9594 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.777, allocations: 5.859 kB / 0.9594 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.7771, allocations: 3.719 kB / 0.9594 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.7771, allocations: 96.27 kB / 0.9595 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7771, allocations: 1.812 kB / 0.9595 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003092/0.7774, allocations: 46.67 kB / 0.9595 GB, free: 3.203 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: 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.0007728/0.7782, allocations: 0.841 MB / 0.9603 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.7785, allocations: 97.62 kB / 0.9604 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7785, allocations: 0 / 0.9604 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.7787, allocations: 53.05 kB / 0.9605 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.7789, allocations: 12.06 kB / 0.9605 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008348/0.7797, allocations: 1.057 MB / 0.9615 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.7799, allocations: 0.6917 MB / 0.9622 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.7799, allocations: 11.8 kB / 0.9622 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.78, allocations: 18.12 kB / 0.9622 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.78, allocations: 0 / 0.9622 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.7941, allocations: 2.65 MB / 0.9648 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.7944, allocations: 240.9 kB / 0.965 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.574, allocations: 0 / 0.965 GB, free: 15.08 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat