Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.483/2.483, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.002413/0.002413, allocations: 172.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001146/0.001145, allocations: 85.73 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.581e-05, allocations: 0 / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9174/0.9175, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/1.217, allocations: 139.2 MB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005152/1.218, allocations: 82.77 kB / 1.099 GB, free: 1.145 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01852/1.237, allocations: 3.409 MB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/1.237, allocations: 2.25 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.237, allocations: 5.344 kB / 1.103 GB, free: 13.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008842/1.238, allocations: 480 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.238, allocations: 8.031 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/1.238, allocations: 17.98 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.238, allocations: 170.9 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/1.238, allocations: 0.875 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/1.238, allocations: 4 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/1.238, allocations: 33.52 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/1.238, allocations: 73.59 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.238, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/1.238, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/1.238, allocations: 7.141 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/1.239, allocations: 293.4 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/1.239, allocations: 67.38 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/1.24, allocations: 35.39 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/1.24, allocations: 4.141 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/1.24, allocations: 79.38 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.355e-06/1.24, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0006108/1.24, allocations: 136.8 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.241, allocations: 57.5 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.241, allocations: 119.1 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.241, allocations: 29.69 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/1.241, allocations: 95.98 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/1.241, allocations: 15.81 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/1.241, allocations: 0 / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.241, allocations: 326.8 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/1.241, allocations: 20 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/1.241, allocations: 59.25 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/1.241, allocations: 23.97 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.241, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002531/1.242, allocations: 101.5 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.242, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.242, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.242, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.242, allocations: 15.94 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.242, allocations: 11.94 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/1.242, allocations: 8.188 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/1.242, allocations: 8 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001123/1.242, allocations: 110.7 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005485/1.243, allocations: 141.2 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/1.243, allocations: 7.906 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/1.243, allocations: 16.58 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.243, allocations: 2.438 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.243, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.243, allocations: 3.984 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007989/1.244, allocations: 394.9 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.244, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/1.244, allocations: 7.938 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.244, allocations: 3.953 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.244, allocations: 3.984 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.244, allocations: 4 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.244, allocations: 0 / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/1.244, allocations: 227.4 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/1.244, allocations: 85.02 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/1.244, allocations: 3.953 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/1.245, allocations: 15.92 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/1.245, allocations: 7.984 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/1.245, allocations: 4 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.403e-05/1.245, allocations: 101 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.9e-07/1.245, allocations: 0 / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000496/1.245, allocations: 56 kB / 1.106 GB, free: 10.04 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: 7 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001383/1.247, allocations: 0.8559 MB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002368/1.247, allocations: 59.92 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.247, allocations: 0 / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/1.247, allocations: 35.94 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/1.248, allocations: 21.12 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000703/1.248, allocations: 180.6 kB / 1.107 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/1.249, allocations: 0.6963 MB / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.447e-05/1.249, allocations: 4 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/1.249, allocations: 27.42 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/1.249, allocations: 0 / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/1.287, allocations: 2.692 MB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003716/1.287, allocations: 203.4 kB / 1.111 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.709, allocations: 0 / 1.111 GB, free: 5.18 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)