Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001532/0.001532, allocations: 99.86 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.002128/0.002128, 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.51/1.51, 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 10.0.0-master/package.mo): time 2.848/2.848, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 8 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.847/0.8475, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001905/0.8494, allocations: 1.194 MB / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.8505, allocations: 0.6706 MB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.8506, allocations: 0 / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.8506, allocations: 3.938 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.8507, allocations: 15.97 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.8512, allocations: 99.62 kB / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.8513, allocations: 43.88 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.8514, allocations: 19.98 kB / 0.9829 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.8515, allocations: 23.92 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.8516, allocations: 43.81 kB / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.8516, allocations: 4 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.8518, allocations: 59.94 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.8518, allocations: 15.92 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.8519, allocations: 37.69 kB / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.852, allocations: 98.02 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.852, allocations: 0 / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.852, allocations: 4 kB / 0.9831 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.852, allocations: 0 / 0.9831 GB, free: 3.93 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.0005905/0.8526, allocations: 408.8 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8527, allocations: 12.03 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.8528, allocations: 38.55 kB / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.8528, allocations: 7.906 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.8529, allocations: 170.9 kB / 0.9837 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.853, allocations: 4 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.853, allocations: 8 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.8532, allocations: 69.61 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.8532, allocations: 4 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8532, allocations: 3.984 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8532, allocations: 0 / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.8533, allocations: 39.98 kB / 0.9839 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.8539, allocations: 332.6 kB / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.8541, allocations: 50.56 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.8541, allocations: 0 / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.8543, allocations: 79.5 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.8543, allocations: 0 / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003984/0.8547, allocations: 149.5 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.8548, allocations: 55.41 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.8549, allocations: 129.8 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.8549, allocations: 25.7 kB / 0.9847 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.855, allocations: 92.33 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.855, allocations: 19.86 kB / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.855, allocations: 4 kB / 0.9848 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8551, allocations: 314.8 kB / 0.9851 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.8552, allocations: 35.97 kB / 0.9851 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.893e-05/0.8553, allocations: 50.94 kB / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.8554, allocations: 35.98 kB / 0.9852 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8554, allocations: 3.938 kB / 0.9852 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002273/0.8557, allocations: 121.5 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.8557, allocations: 7.938 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8557, allocations: 0 / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8557, allocations: 4 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.8558, allocations: 16.05 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.8558, allocations: 0 / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.8559, allocations: 19.84 kB / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.8559, allocations: 0 / 0.9853 GB, free: 1.422 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 8.98e-05/0.856, allocations: 120.3 kB / 0.9855 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.856, allocations: 7.938 kB / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.8561, allocations: 20.3 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.8561, allocations: 4 kB / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8561, allocations: 0 / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8561, allocations: 0 / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.8565, allocations: 386.4 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8565, allocations: 4 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.8566, allocations: 4 kB / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.8566, allocations: 11.92 kB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.8566, allocations: 4 kB / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.8566, allocations: 4 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8566, allocations: 3.938 kB / 0.9859 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.8569, allocations: 207.8 kB / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.8569, allocations: 89.09 kB / 0.9862 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.857, allocations: 0 / 0.9862 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.857, allocations: 8 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.8571, allocations: 7.984 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.8571, allocations: 4 kB / 0.9862 GB, free: 464 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.8572, allocations: 91.27 kB / 0.9863 GB, free: 372 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8572, allocations: 0 / 0.9863 GB, free: 372 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000295/0.8575, allocations: 36 kB / 0.9863 GB, free: 336 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.0007593/0.8582, allocations: 0.8197 MB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.8585, allocations: 79.89 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8585, allocations: 0 / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.8586, allocations: 31.98 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.8587, allocations: 13.44 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.8595, allocations: 0.7244 MB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.8597, allocations: 0.6887 MB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.8598, allocations: 4.188 kB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.8598, allocations: 23.42 kB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.8598, allocations: 0 / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.8741, allocations: 2.31 MB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.8743, allocations: 245.7 kB / 0.9911 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.566, allocations: 0 / 0.9911 GB, free: 11.47 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat does not exist to compare? outputFormat=mat