Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.001174/0.001174, allocations: 100.3 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.001398/0.001398, 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.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.511/2.511, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.822/0.8225, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001536/0.824, allocations: 1.191 MB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.8252, allocations: 0.6745 MB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.8252, allocations: 4.938 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.8253, allocations: 0 / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.8253, allocations: 14.88 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.8258, allocations: 89.61 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.8259, allocations: 43.16 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.826, allocations: 13.31 kB / 0.9556 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.8261, allocations: 36.66 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.8262, allocations: 31.36 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.8262, allocations: 11.27 kB / 0.9556 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.8264, allocations: 63.8 kB / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.8264, allocations: 18.91 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.8264, allocations: 29.89 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.8266, allocations: 96.05 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8266, allocations: 0 / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8266, allocations: 7.938 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.8266, allocations: 0 / 0.9559 GB, free: 6.336 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.0005/0.8271, allocations: 414.1 kB / 0.9562 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8272, allocations: 9.406 kB / 0.9563 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.8272, allocations: 43.8 kB / 0.9563 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.8272, allocations: 11.48 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.949e-05/0.8273, allocations: 163 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.8273, allocations: 6.781 kB / 0.9565 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.8274, allocations: 3.625 kB / 0.9565 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.8275, allocations: 78.16 kB / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8276, allocations: 0 / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8276, allocations: 5.391 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.8276, allocations: 3.953 kB / 0.9566 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.8277, allocations: 47.42 kB / 0.9566 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.8283, allocations: 320.7 kB / 0.9569 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.8284, allocations: 50.94 kB / 0.957 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.8285, allocations: 1.031 kB / 0.957 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.8287, allocations: 87.45 kB / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.8287, allocations: 0 / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004724/0.8292, allocations: 148.9 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.8292, allocations: 53.5 kB / 0.9572 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.8293, allocations: 124.2 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.8294, allocations: 26.8 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.8294, allocations: 91.52 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.8295, allocations: 17.92 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.8295, allocations: 1.031 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.8296, allocations: 321.1 kB / 0.9578 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.8297, allocations: 36.5 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.8298, allocations: 54.92 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.8299, allocations: 34.89 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8299, allocations: 1.031 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000241/0.8301, allocations: 122.2 kB / 0.958 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.8302, allocations: 4.844 kB / 0.958 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.8302, allocations: 4.953 kB / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.8302, allocations: 5.156 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8303, allocations: 13.7 kB / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8303, allocations: 5 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.8304, allocations: 9.344 kB / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.8304, allocations: 7.312 kB / 0.9581 GB, free: 4.219 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 0.0001068/0.8305, allocations: 120.2 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.8305, allocations: 10.08 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.8306, allocations: 14.62 kB / 0.9582 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.8306, allocations: 5.047 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8306, allocations: 0 / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8306, allocations: 1.219 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.8311, allocations: 379.7 kB / 0.9586 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.8311, allocations: 0 / 0.9586 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.8311, allocations: 8.688 kB / 0.9586 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8311, allocations: 7.938 kB / 0.9586 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.8312, allocations: 5.516 kB / 0.9586 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8312, allocations: 1.125 kB / 0.9586 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8312, allocations: 0 / 0.9586 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.8315, allocations: 216.3 kB / 0.9588 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.8315, allocations: 86.88 kB / 0.9589 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.8315, allocations: 7.953 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.8316, allocations: 4.031 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.8317, allocations: 11.95 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.8317, allocations: 1.906 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.8318, allocations: 95.11 kB / 0.959 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8318, allocations: 3.938 kB / 0.959 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003434/0.8321, allocations: 32.25 kB / 0.959 GB, free: 3.309 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.0008527/0.833, allocations: 0.8108 MB / 0.9598 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.8332, allocations: 82.69 kB / 0.9599 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8332, allocations: 0 / 0.9599 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.8334, allocations: 33.89 kB / 0.9599 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.8336, allocations: 14.64 kB / 0.96 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.8343, allocations: 0.7208 MB / 0.9607 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.8345, allocations: 0.6891 MB / 0.9613 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.8346, allocations: 4.312 kB / 0.9613 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.8346, allocations: 22.17 kB / 0.9614 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8347, allocations: 4 kB / 0.9614 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.8477, allocations: 2.301 MB / 0.9636 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.848, allocations: 233.3 kB / 0.9638 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.546, allocations: 7.938 kB / 0.9638 GB, free: 15.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat does not exist to compare? outputFormat=mat