Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 289.9 MB / 297.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 180.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008869/0.0008865, allocations: 83.38 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.129e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8268, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/1.06, allocations: 140.2 MB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.06, allocations: 83.94 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009585/1.07, allocations: 2.949 MB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/1.07, allocations: 1.75 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.253e-06/1.07, allocations: 0 / 1.113 GB, free: 6.941 MB / 0.7136 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.0005708/1.071, allocations: 420.5 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.071, allocations: 8.031 kB / 1.114 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/1.071, allocations: 8.531 kB / 1.114 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/1.071, allocations: 178 kB / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/1.071, allocations: 4 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/1.071, allocations: 1.469 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.89e-05/1.071, allocations: 23.98 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/1.071, allocations: 57.67 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.071, allocations: 0 / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.071, allocations: 0.9375 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.071, allocations: 0 / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/1.072, allocations: 292.4 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/1.072, allocations: 43.8 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/1.072, allocations: 20.98 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/1.072, allocations: 5.969 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/1.072, allocations: 68.61 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/1.072, allocations: 0 / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002946/1.073, allocations: 94.27 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.073, allocations: 56.09 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.073, allocations: 120.1 kB / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/1.073, allocations: 29.7 kB / 1.115 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/1.073, allocations: 89.03 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/1.073, allocations: 20.28 kB / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/1.073, allocations: 0 / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.073, allocations: 324.1 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/1.073, allocations: 16 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/1.073, allocations: 35.92 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.903e-05/1.073, allocations: 27.98 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.073, allocations: 0 / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000164/1.073, allocations: 89.52 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.073, allocations: 5.094 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.073, allocations: 4 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.073, allocations: 0 / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.074, allocations: 12 kB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.074, allocations: 10.25 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/1.074, allocations: 9.75 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/1.074, allocations: 4 kB / 1.115 GB, free: 4.711 MB / 0.7136 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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.218e-05/1.074, allocations: 110.9 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001623/1.074, allocations: 97.56 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/1.074, allocations: 4 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/1.074, allocations: 12.61 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.074, allocations: 4 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.074, allocations: 1.688 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.074, allocations: 4 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/1.074, allocations: 338.9 kB / 1.116 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.074, allocations: 0 / 1.116 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/1.074, allocations: 7.984 kB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.074, allocations: 0 / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.074, allocations: 4 kB / 1.116 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.074, allocations: 0 / 1.116 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.074, allocations: 3.938 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/1.075, allocations: 199.4 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/1.075, allocations: 85.02 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/1.075, allocations: 3.188 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/1.075, allocations: 6.75 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/1.075, allocations: 11.97 kB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/1.075, allocations: 4 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.583e-05/1.075, allocations: 97.52 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 0 / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003153/1.075, allocations: 47.94 kB / 1.116 GB, free: 3.613 MB / 0.7136 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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.0008431/1.076, allocations: 0.7997 MB / 1.117 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001531/1.076, allocations: 48 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.076, allocations: 1.5 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/1.076, allocations: 31.92 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/1.077, allocations: 2.266 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/1.077, allocations: 146.1 kB / 1.117 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/1.078, allocations: 0.6933 MB / 1.118 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.143e-05/1.078, allocations: 5.438 kB / 1.118 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/1.078, allocations: 23.42 kB / 1.118 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.078, allocations: 0 / 1.118 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/1.101, allocations: 2.182 MB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.102, allocations: 179.9 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.708, allocations: 0 / 1.12 GB, free: 15.48 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)