Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_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.001178/0.001178, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001454/0.001454, allocations: 172.7 kB / 15.95 MB, free: 208 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.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.581/2.581, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003864, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8498/0.8502, allocations: 146.8 MB / 0.9811 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001844/0.8521, allocations: 1.198 MB / 0.9823 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.8534, allocations: 0.6745 MB / 0.983 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.8534, allocations: 4 kB / 0.983 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.8535, allocations: 3.938 kB / 0.983 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.8535, allocations: 7.922 kB / 0.983 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.8541, allocations: 103.8 kB / 0.9831 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.8542, allocations: 67.78 kB / 0.9831 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.8543, allocations: 11.98 kB / 0.9832 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.345e-05/0.8544, allocations: 31.89 kB / 0.9832 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.8545, allocations: 31.84 kB / 0.9832 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.8545, allocations: 4 kB / 0.9832 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.8547, allocations: 83.91 kB / 0.9833 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.8547, allocations: 15.92 kB / 0.9833 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.8548, allocations: 37.7 kB / 0.9833 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.855, allocations: 102.2 kB / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.855, allocations: 0 / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.764e-06/0.855, allocations: 0 / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.855, allocations: 0 / 0.9834 GB, free: 4 MB / 0.7325 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.0006254/0.8556, allocations: 408.7 kB / 0.9838 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.8557, allocations: 8.031 kB / 0.9838 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.8557, allocations: 42.5 kB / 0.9839 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.8558, allocations: 11.91 kB / 0.9839 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.8559, allocations: 171 kB / 0.9841 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.8559, allocations: 0 / 0.9841 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.856, allocations: 8 kB / 0.9841 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.8562, allocations: 69.61 kB / 0.9841 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8562, allocations: 3.938 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.8562, allocations: 8 kB / 0.9841 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.8562, allocations: 0 / 0.9841 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.8564, allocations: 43.97 kB / 0.9842 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.857, allocations: 328.7 kB / 0.9845 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.8571, allocations: 50.56 kB / 0.9845 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.8572, allocations: 36.97 kB / 0.9846 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.8573, allocations: 3.984 kB / 0.9846 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.8575, allocations: 83.33 kB / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.8575, allocations: 0 / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.8579, allocations: 149.6 kB / 0.9848 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.8579, allocations: 55.41 kB / 0.9849 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.858, allocations: 121.8 kB / 0.985 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.8581, allocations: 33.69 kB / 0.985 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.8581, allocations: 88.33 kB / 0.9851 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.8582, allocations: 11.81 kB / 0.9851 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.8582, allocations: 4 kB / 0.9851 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8583, allocations: 322.8 kB / 0.9854 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.8584, allocations: 27.92 kB / 0.9854 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.8585, allocations: 58.48 kB / 0.9855 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.062e-05/0.8586, allocations: 36.3 kB / 0.9855 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8586, allocations: 3.953 kB / 0.9855 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002317/0.8588, allocations: 117.5 kB / 0.9856 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.8589, allocations: 4 kB / 0.9857 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8589, allocations: 4 kB / 0.9857 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.8589, allocations: 0 / 0.9857 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.859, allocations: 11.98 kB / 0.9857 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.859, allocations: 4 kB / 0.9857 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.8591, allocations: 19.83 kB / 0.9857 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.8591, allocations: 8.062 kB / 0.9857 GB, free: 1.445 MB / 0.7325 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 9.301e-05/0.8592, allocations: 120.5 kB / 0.9858 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.8592, allocations: 7.953 kB / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.8593, allocations: 8.375 kB / 0.9858 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8593, allocations: 4 kB / 0.9858 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8593, allocations: 0 / 0.9858 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8593, allocations: 3.984 kB / 0.9858 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.8597, allocations: 386.4 kB / 0.9862 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.8597, allocations: 3.984 kB / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.8598, allocations: 7.938 kB / 0.9862 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8598, allocations: 3.984 kB / 0.9862 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8598, allocations: 4 kB / 0.9862 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8598, allocations: 0 / 0.9862 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8598, allocations: 3.938 kB / 0.9862 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.8601, allocations: 223.3 kB / 0.9864 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.8602, allocations: 77.11 kB / 0.9865 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.8602, allocations: 8 kB / 0.9865 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.8603, allocations: 7.984 kB / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.8603, allocations: 4 kB / 0.9865 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.8603, allocations: 7.984 kB / 0.9865 GB, free: 492 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.8604, allocations: 91.22 kB / 0.9866 GB, free: 400 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8604, allocations: 0 / 0.9866 GB, free: 400 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002961/0.8607, allocations: 39.98 kB / 0.9867 GB, free: 360 kB / 0.7325 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.0008254/0.8615, allocations: 0.8133 MB / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.8618, allocations: 84.27 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8618, allocations: 0 / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.8619, allocations: 35.98 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.8621, allocations: 11.92 kB / 0.9876 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.8632, allocations: 0.6084 MB / 0.9882 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.8635, allocations: 0.6848 MB / 0.9888 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.8636, allocations: 4.188 kB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.8636, allocations: 23.42 kB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.8636, allocations: 0 / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.8768, allocations: 2.328 MB / 0.9911 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.877, allocations: 247.9 kB / 0.9914 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.734, allocations: 0 / 0.9914 GB, free: 11.53 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat does not exist to compare? outputFormat=mat