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.55/1.55, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 186 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.001017/0.001017, allocations: 86.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.109e-05, allocations: 0 / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7689/0.9837, allocations: 133.8 MB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.984, allocations: 78.39 kB / 1.022 GB, free: 0.9375 MB / 0.6355 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.01038/0.9944, allocations: 3.435 MB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.32e-06/0.9944, allocations: 3.984 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.9944, allocations: 3.938 kB / 1.026 GB, free: 13.98 MB / 0.6511 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.000626/0.9951, allocations: 464.6 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.9951, allocations: 8.031 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.9952, allocations: 19.8 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.9953, allocations: 179 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.9954, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.9954, allocations: 7.938 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.9956, allocations: 72.22 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9956, allocations: 0 / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.9957, allocations: 0 / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.9957, allocations: 3.984 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.9958, allocations: 38.7 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.9965, allocations: 333.3 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.9966, allocations: 64.89 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.9967, allocations: 31.91 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.9967, allocations: 4 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.9969, allocations: 81.52 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.9969, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0002977/0.9972, allocations: 131 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.9972, allocations: 51.41 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.9974, allocations: 122 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.9974, allocations: 25.7 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.9975, allocations: 109.9 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.9975, allocations: 19.62 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.9975, allocations: 0 / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9976, allocations: 322.3 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.9977, allocations: 19.62 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.9977, allocations: 56.64 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.093e-05/0.9978, allocations: 34.98 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9978, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001737/0.998, allocations: 111.4 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.998, allocations: 4 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.998, allocations: 4.734 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.9981, allocations: 7.953 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.9981, allocations: 23.36 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.9982, allocations: 0 / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.9982, allocations: 11.98 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.9983, allocations: 4 kB / 1.028 GB, free: 11.61 MB / 0.6511 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 8.114e-05/0.9984, allocations: 108.9 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.9984, allocations: 15.84 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.9984, allocations: 11.81 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.9984, allocations: 3.953 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9984, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9984, allocations: 7.922 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.9989, allocations: 408.3 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9989, allocations: 0 / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.9989, allocations: 7.984 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.999, allocations: 3.953 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.999, allocations: 11.31 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.999, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.999, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.9992, allocations: 220.4 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.9993, allocations: 89.05 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.9993, allocations: 3.953 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.9994, allocations: 15.98 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.9995, allocations: 7.984 kB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.9995, allocations: 8 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.9996, allocations: 102.1 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9996, allocations: 0 / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003223/0.9999, allocations: 63.61 kB / 1.029 GB, free: 10.54 MB / 0.6511 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.0003942/1, allocations: 189.9 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001629/1, allocations: 69.23 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1, allocations: 0 / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/1.001, allocations: 31.56 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/1.001, allocations: 10.67 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/1.001, allocations: 117.5 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/1.001, allocations: 0.7004 MB / 1.03 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.476e-05/1.001, allocations: 4 kB / 1.03 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/1.001, allocations: 11.44 kB / 1.03 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.001, allocations: 0 / 1.03 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of Templates: time 0.004908/1.006, allocations: 1.957 MB / 1.032 GB, free: 7.484 MB / 0.6511 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