Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.751/1.751, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001046/0.001046, allocations: 188.8 kB / 366.7 MB, free: 1.594 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.902/1.902, allocations: 205.2 MB / 0.626 GB, free: 7.121 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.001216/0.001216, allocations: 88.58 kB / 0.74 GB, free: 39.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.581e-05, allocations: 4 kB / 0.8598 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7069, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.9156, allocations: 140.2 MB / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.916, allocations: 84.47 kB / 1.11 GB, free: 9.797 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.01018/0.9262, allocations: 2.948 MB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9262, allocations: 0.5938 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.9263, allocations: 0.5 kB / 1.113 GB, free: 6.875 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.0006093/0.9269, allocations: 422.8 kB / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.9269, allocations: 8.031 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.927, allocations: 7.906 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.9272, allocations: 179.8 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.9272, allocations: 4 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.9272, allocations: 5.25 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.288e-05/0.9273, allocations: 20 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.9275, allocations: 55.55 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.9275, allocations: 1.156 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.9275, allocations: 0 / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.9275, allocations: 0 / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.9282, allocations: 292.6 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.9283, allocations: 42.5 kB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.9283, allocations: 28.52 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.9284, allocations: 4.062 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.9285, allocations: 71.3 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.9285, allocations: 0 / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002891/0.9288, allocations: 89.67 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.9289, allocations: 55.34 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.929, allocations: 116.5 kB / 1.115 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.9291, allocations: 33.64 kB / 1.115 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.9291, allocations: 85.2 kB / 1.115 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.9292, allocations: 19.75 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.9292, allocations: 2.719 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.9293, allocations: 326.8 kB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.9294, allocations: 12 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.9295, allocations: 41.62 kB / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.156e-05/0.9296, allocations: 26.28 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.9296, allocations: 0 / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001843/0.9298, allocations: 93.5 kB / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9298, allocations: 8 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9298, allocations: 0 / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9298, allocations: 0 / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.9299, allocations: 17.11 kB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.93, allocations: 9.656 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.93, allocations: 4 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.9301, allocations: 7.984 kB / 1.115 GB, free: 4.645 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 8.469e-05/0.9302, allocations: 112.9 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001645/0.9303, allocations: 89.58 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.9303, allocations: 8.062 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.9304, allocations: 12.62 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9304, allocations: 0 / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9304, allocations: 0 / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9304, allocations: 0 / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.9308, allocations: 346.1 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9308, allocations: 0 / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.9308, allocations: 4 kB / 1.116 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.9309, allocations: 4 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.9309, allocations: 7.984 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9309, allocations: 0 / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.9309, allocations: 0 / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.9311, allocations: 195.4 kB / 1.116 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.9312, allocations: 85.02 kB / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.9312, allocations: 0 / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.9313, allocations: 7.984 kB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.9314, allocations: 15.98 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.9314, allocations: 1.781 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.9314, allocations: 91.23 kB / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9315, allocations: 0 / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003151/0.9318, allocations: 47.92 kB / 1.116 GB, free: 3.555 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.0008898/0.9327, allocations: 0.8031 MB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.9328, allocations: 47.98 kB / 1.117 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9328, allocations: 2.344 kB / 1.117 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.933, allocations: 31.94 kB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.9332, allocations: 4.109 kB / 1.117 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.9337, allocations: 146.1 kB / 1.117 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.934, allocations: 0.697 MB / 1.118 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.457e-05/0.9341, allocations: 5.438 kB / 1.118 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.9341, allocations: 19.42 kB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.9341, allocations: 0 / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.9563, allocations: 2.177 MB / 1.12 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.9566, allocations: 184.4 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.558, allocations: 4.031 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)