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.001271/0.001271, allocations: 99.62 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.0015/0.0015, allocations: 177.3 kB / 15.94 MB, free: 228 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.536/2.536, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003595, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.825, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001573/0.8266, allocations: 1.194 MB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.8277, allocations: 0.6705 MB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.8277, allocations: 1 kB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.8278, allocations: 7.922 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.8278, allocations: 14.31 kB / 0.9554 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.8283, allocations: 90.7 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.8284, allocations: 46.62 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.8285, allocations: 9.625 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.8286, allocations: 37.36 kB / 0.9556 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.8286, allocations: 34.62 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.8286, allocations: 3.25 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.8288, allocations: 67.33 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.8288, allocations: 18.98 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.8289, allocations: 33.86 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.829, allocations: 96.25 kB / 0.9558 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.829, allocations: 0 / 0.9558 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8291, allocations: 0 / 0.9558 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.8291, allocations: 0.875 kB / 0.9558 GB, free: 6.363 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.0004475/0.8295, allocations: 413.7 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.8296, allocations: 12.78 kB / 0.9563 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.8296, allocations: 35.62 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.8296, allocations: 12.11 kB / 0.9563 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.8297, allocations: 170.2 kB / 0.9565 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.8297, allocations: 3.312 kB / 0.9565 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.8298, allocations: 10.95 kB / 0.9565 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.8299, allocations: 66.72 kB / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.8299, allocations: 0 / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.83, allocations: 5.281 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.83, allocations: 5.234 kB / 0.9566 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.8301, allocations: 45.77 kB / 0.9566 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.8306, allocations: 333.3 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.8307, allocations: 50.97 kB / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.8308, allocations: 1.156 kB / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.8309, allocations: 88.19 kB / 0.957 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.8309, allocations: 0 / 0.957 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000417/0.8314, allocations: 151.8 kB / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.8314, allocations: 57.86 kB / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.8315, allocations: 116.8 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.8315, allocations: 31.14 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.8315, allocations: 97.69 kB / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.8316, allocations: 11.47 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/0.8316, allocations: 4 kB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.8316, allocations: 321.1 kB / 0.9578 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.8317, allocations: 28.95 kB / 0.9578 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.8318, allocations: 50.06 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.8319, allocations: 36.17 kB / 0.9579 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8319, allocations: 0 / 0.9579 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002224/0.8321, allocations: 118.7 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8322, allocations: 4.531 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8322, allocations: 10.42 kB / 0.958 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8322, allocations: 3.938 kB / 0.958 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.8323, allocations: 13.08 kB / 0.9581 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8323, allocations: 1.688 kB / 0.9581 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.8324, allocations: 15.53 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.8324, allocations: 3.594 kB / 0.9581 GB, free: 4.246 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 6.8e-05/0.8325, allocations: 120.5 kB / 0.9582 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.8325, allocations: 7.062 kB / 0.9582 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.8325, allocations: 12.34 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.8325, allocations: 3.953 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8325, allocations: 0 / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.8325, allocations: 0 / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.8329, allocations: 386.6 kB / 0.9586 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8329, allocations: 1.312 kB / 0.9586 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.833, allocations: 11.86 kB / 0.9586 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.833, allocations: 5.641 kB / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.833, allocations: 0 / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.833, allocations: 1.719 kB / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.833, allocations: 0 / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.8332, allocations: 218.5 kB / 0.9588 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.8333, allocations: 82.77 kB / 0.9589 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.8333, allocations: 9.234 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.8334, allocations: 4.625 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.8334, allocations: 5.609 kB / 0.9589 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.8334, allocations: 2.875 kB / 0.9589 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.8335, allocations: 100 kB / 0.959 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8335, allocations: 0 / 0.959 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002902/0.8338, allocations: 35.73 kB / 0.959 GB, free: 3.336 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.0006331/0.8344, allocations: 0.8195 MB / 0.9598 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.8346, allocations: 78.7 kB / 0.9599 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8346, allocations: 4.125 kB / 0.9599 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.8347, allocations: 35.8 kB / 0.96 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.8349, allocations: 10.36 kB / 0.96 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.8355, allocations: 0.7215 MB / 0.9607 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.8357, allocations: 0.6891 MB / 0.9613 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.44e-05/0.8357, allocations: 12.3 kB / 0.9614 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.8358, allocations: 18.19 kB / 0.9614 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8358, allocations: 0 / 0.9614 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.8477, allocations: 2.306 MB / 0.9636 GB, free: 16 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.848, allocations: 236.6 kB / 0.9638 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.62, allocations: 0 / 0.9638 GB, free: 15.78 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