Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 285.6 MB / 293.1 MB, free: 10.29 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.00111/0.00111, allocations: 172.9 kB / 361.4 MB, free: 6.848 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.611/1.611, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0009245/0.0009245, allocations: 93.92 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.159e-05, allocations: 0 / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.6224, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.8161, allocations: 139.3 MB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.8164, allocations: 85.06 kB / 1.101 GB, free: 404 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.008995/0.8255, allocations: 2.962 MB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8255, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.8255, allocations: 4 kB / 1.103 GB, free: 13.48 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.0005314/0.826, allocations: 409.5 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8261, allocations: 12.03 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.8261, allocations: 9.5 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.8263, allocations: 175.9 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.8263, allocations: 0 / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.8263, allocations: 7.875 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.895e-05/0.8264, allocations: 27.61 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.8265, allocations: 54.2 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8265, allocations: 1.219 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8266, allocations: 4 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8266, allocations: 0 / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.8272, allocations: 295.4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.8273, allocations: 44.17 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.8273, allocations: 20.98 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.8273, allocations: 0.5938 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.8275, allocations: 68.42 kB / 1.105 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.8275, allocations: 0.5938 kB / 1.105 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002472/0.8277, allocations: 93.67 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.8278, allocations: 60.08 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.8279, allocations: 111.5 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.8279, allocations: 31.55 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.828, allocations: 92.31 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.828, allocations: 15.75 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.828, allocations: 0 / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8281, allocations: 327.7 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.8282, allocations: 12 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.8283, allocations: 47.22 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.544e-05/0.8283, allocations: 21.06 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8283, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001679/0.8285, allocations: 93.52 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8285, allocations: 4 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8286, allocations: 1.781 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8286, allocations: 4 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.8287, allocations: 15.92 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8287, allocations: 4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.8288, allocations: 12.05 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.8288, allocations: 7.281 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.721e-05/0.8289, allocations: 105.6 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001639/0.8291, allocations: 101.5 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.8291, allocations: 5.781 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.8291, allocations: 4.672 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.8291, allocations: 11.97 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8291, allocations: 0 / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8291, allocations: 4 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.8295, allocations: 339 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8295, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.8296, allocations: 11.92 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8296, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.8296, allocations: 7.75 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8296, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8296, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.8299, allocations: 203.3 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.8299, allocations: 85.09 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.8299, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.83, allocations: 4 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.8301, allocations: 3.984 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.8301, allocations: 4 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.8302, allocations: 92.66 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8302, allocations: 1.406 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002967/0.8305, allocations: 55.92 kB / 1.106 GB, free: 10.15 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.0007869/0.8313, allocations: 0.8011 MB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.8314, allocations: 51.94 kB / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8314, allocations: 0 / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/0.8315, allocations: 27.98 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.8317, allocations: 1.688 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.8321, allocations: 152.4 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.8324, allocations: 0.6939 MB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.8325, allocations: 8.266 kB / 1.108 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.8325, allocations: 23.42 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8325, allocations: 0 / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.853, allocations: 2.178 MB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.8532, allocations: 195.6 kB / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.379, allocations: 0 / 1.11 GB, free: 6.008 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)