Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009578/0.0009577, allocations: 183.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008793/0.0008798, allocations: 91.95 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 6.156 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2874, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.4843, allocations: 133.8 MB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.4846, allocations: 79.95 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.01042/0.4951, allocations: 3.455 MB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4951, allocations: 4 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4951, allocations: 4 kB / 1.034 GB, free: 6.254 MB / 0.6823 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.0006751/0.4958, allocations: 495.7 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4959, allocations: 12.03 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.4959, allocations: 34.56 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.496, allocations: 11.86 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.4961, allocations: 175 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.4962, allocations: 4 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.4962, allocations: 11.94 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.4964, allocations: 85.64 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4965, allocations: 0 / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4965, allocations: 11.92 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4965, allocations: 0 / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.4967, allocations: 63.92 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.4973, allocations: 332.7 kB / 1.035 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.4975, allocations: 86.53 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.4976, allocations: 0 / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.4978, allocations: 99.36 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.4979, allocations: 0 / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005208/0.4984, allocations: 209.5 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4984, allocations: 55.39 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4986, allocations: 114.7 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4986, allocations: 33.7 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.4987, allocations: 103.9 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.4987, allocations: 11.95 kB / 1.036 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.4987, allocations: 4 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4989, allocations: 328.8 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.4989, allocations: 23.98 kB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.499, allocations: 76.17 kB / 1.037 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.4991, allocations: 32 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4991, allocations: 4 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002469/0.4994, allocations: 137.4 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4994, allocations: 8 kB / 1.037 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4994, allocations: 0 / 1.037 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4995, allocations: 7.953 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.4996, allocations: 19.92 kB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4996, allocations: 0 / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.4996, allocations: 16.12 kB / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.4997, allocations: 8 kB / 1.037 GB, free: 3.438 MB / 0.6823 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 () * Number of clocked 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.0001041/0.4998, allocations: 120.1 kB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.4998, allocations: 11.91 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.4999, allocations: 12.7 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4999, allocations: 3.953 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4999, allocations: 0 / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4999, allocations: 48 / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.5005, allocations: 438.5 kB / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5005, allocations: 0 / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.5005, allocations: 11.98 kB / 1.037 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5005, allocations: 7.891 kB / 1.037 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.5006, allocations: 4 kB / 1.037 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5006, allocations: 4 kB / 1.037 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5006, allocations: 0 / 1.037 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.501, allocations: 251.3 kB / 1.038 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.501, allocations: 89.02 kB / 1.038 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.5011, allocations: 11.94 kB / 1.038 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5012, allocations: 8 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.5012, allocations: 7.984 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5013, allocations: 0 / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.5013, allocations: 100.5 kB / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5013, allocations: 0 / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003979/0.5017, allocations: 71.86 kB / 1.038 GB, free: 2.207 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001/0.5027, allocations: 0.8786 MB / 1.039 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.503, allocations: 96.27 kB / 1.039 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.503, allocations: 4 kB / 1.039 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.5032, allocations: 51.91 kB / 1.039 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.5034, allocations: 18.94 kB / 1.039 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.5045, allocations: 1.386 MB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.5048, allocations: 0.7004 MB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.5048, allocations: 4 kB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.5049, allocations: 23.42 kB / 1.041 GB, free: 14.94 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.5049, allocations: 0 / 1.041 GB, free: 14.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.5205, allocations: 3.04 MB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.5208, allocations: 252.3 kB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.298, allocations: 0 / 1.044 GB, free: 11.75 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)