Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 180 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009058/0.0009062, allocations: 87.95 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.127e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3141, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9893/1.304, allocations: 152.1 MB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.304, allocations: 77.77 kB / 1.367 GB, free: 1.922 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.0111/1.315, allocations: 3.482 MB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/1.315, allocations: 0 / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.315, allocations: 4 kB / 1.371 GB, free: 14.93 MB / 0.8386 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.0005764/1.316, allocations: 469.4 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.316, allocations: 8.031 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/1.316, allocations: 15.86 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/1.316, allocations: 170.9 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/1.316, allocations: 7.938 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/1.316, allocations: 10.98 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/1.316, allocations: 66.11 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/1.316, allocations: 0 / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/1.316, allocations: 3.984 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.316, allocations: 3.953 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/1.316, allocations: 36.44 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/1.317, allocations: 327.1 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/1.317, allocations: 61.2 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/1.317, allocations: 40.78 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/1.317, allocations: 4 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/1.317, allocations: 83.88 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/1.317, allocations: 3.938 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002727/1.317, allocations: 123.6 kB / 1.372 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.317, allocations: 51.56 kB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.318, allocations: 124.9 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/1.318, allocations: 32.64 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/1.318, allocations: 103 kB / 1.372 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/1.318, allocations: 15.44 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/1.318, allocations: 0 / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.318, allocations: 322.2 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/1.318, allocations: 14.94 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/1.318, allocations: 72.81 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/1.318, allocations: 22.88 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.318, allocations: 0 / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001684/1.318, allocations: 110.6 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.318, allocations: 15.89 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.318, allocations: 3.984 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.318, allocations: 4 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/1.318, allocations: 15.94 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.318, allocations: 0.5469 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/1.318, allocations: 15.48 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/1.318, allocations: 8 kB / 1.373 GB, free: 12.56 MB / 0.8386 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 7.153e-05/1.319, allocations: 120.5 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/1.319, allocations: 11.94 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/1.319, allocations: 11.83 kB / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.319, allocations: 7.984 kB / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.319, allocations: 0 / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.319, allocations: 0 / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/1.319, allocations: 403.1 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.319, allocations: 4 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/1.319, allocations: 15.88 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.319, allocations: 0 / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.319, allocations: 7.875 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.319, allocations: 0 / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.319, allocations: 0 / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/1.319, allocations: 213.7 kB / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/1.319, allocations: 85.02 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/1.319, allocations: 15.69 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.32, allocations: 8 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/1.32, allocations: 7.984 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.32, allocations: 4 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.133e-05/1.32, allocations: 99.12 kB / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.32, allocations: 0 / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003077/1.32, allocations: 71.55 kB / 1.374 GB, free: 11.49 MB / 0.8386 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.00036/1.32, allocations: 183 kB / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001533/1.321, allocations: 64.61 kB / 1.374 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.321, allocations: 0 / 1.374 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/1.321, allocations: 41.12 kB / 1.374 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/1.321, allocations: 13.94 kB / 1.374 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/1.321, allocations: 118.3 kB / 1.374 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/1.321, allocations: 0.6965 MB / 1.375 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.471e-05/1.321, allocations: 7.781 kB / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/1.321, allocations: 11.44 kB / 1.375 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.321, allocations: 0 / 1.375 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.004372/1.326, allocations: 1.956 MB / 1.377 GB, free: 8.445 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches