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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001107/0.001107, allocations: 176.1 kB / 326.5 MB, free: 2.223 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.722/1.722, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009763/0.0009762, allocations: 96.33 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 10.83 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1945, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.3564, allocations: 133.8 MB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.3567, allocations: 87.89 kB / 1.031 GB, free: 9.805 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.01052/0.3673, allocations: 3.455 MB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3673, allocations: 0 / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3673, allocations: 0 / 1.034 GB, free: 6.344 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.0007251/0.368, allocations: 486.2 kB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3681, allocations: 8.031 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.3682, allocations: 19.84 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3683, allocations: 171 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.3684, allocations: 8 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3684, allocations: 4 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3687, allocations: 93.56 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3687, allocations: 0 / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3687, allocations: 0 / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3687, allocations: 0 / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3689, allocations: 63.92 kB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.3695, allocations: 332.7 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.3697, allocations: 82.55 kB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3698, allocations: 0 / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.37, allocations: 107.5 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.562e-06/0.37, allocations: 0 / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.3705, allocations: 209.5 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3706, allocations: 51.41 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.3707, allocations: 118.5 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3707, allocations: 29.7 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.3708, allocations: 95.98 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3708, allocations: 23.7 kB / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.3708, allocations: 0 / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3709, allocations: 326.8 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.371, allocations: 27.98 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.837e-05/0.3711, allocations: 71.86 kB / 1.036 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/0.3712, allocations: 43.86 kB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3712, allocations: 4 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002321/0.3715, allocations: 129.4 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3715, allocations: 8 kB / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3715, allocations: 0 / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3715, allocations: 11.89 kB / 1.037 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.3716, allocations: 19.92 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3716, allocations: 320 / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.3717, allocations: 12.12 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3717, allocations: 8 kB / 1.037 GB, free: 3.582 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 9.894e-05/0.3718, allocations: 124.4 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.3719, allocations: 7.906 kB / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3719, allocations: 12.72 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3719, allocations: 3.938 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3719, allocations: 3.953 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3719, allocations: 0 / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.3725, allocations: 442.5 kB / 1.037 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3725, allocations: 0 / 1.037 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.3725, allocations: 8 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3725, allocations: 0 / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3725, allocations: 7.953 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3725, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3726, allocations: 7.922 kB / 1.037 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.3729, allocations: 247.4 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.373, allocations: 97.03 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.373, allocations: 0 / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3731, allocations: 15.95 kB / 1.038 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3731, allocations: 7.984 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3732, allocations: 4 kB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.3732, allocations: 99.25 kB / 1.038 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3732, allocations: 0 / 1.038 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003358/0.3736, allocations: 67.88 kB / 1.038 GB, free: 2.348 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.0003516/0.3739, allocations: 191.4 kB / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.3742, allocations: 103.9 kB / 1.038 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3742, allocations: 0 / 1.038 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3743, allocations: 51.97 kB / 1.038 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3745, allocations: 11.19 kB / 1.038 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.3749, allocations: 229.3 kB / 1.038 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.3752, allocations: 0.6965 MB / 1.039 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.3752, allocations: 8 kB / 1.039 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.3752, allocations: 11.44 kB / 1.039 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/0.3752, allocations: 0 / 1.039 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of Templates: time 0.00421/0.3794, allocations: 1.93 MB / 1.041 GB, free: 15.12 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches