Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.396/2.396, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001025/0.001025, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.705/1.705, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.0008584/0.0008584, allocations: 103.9 kB / 0.9318 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.891e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3019, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9342/1.236, allocations: 152.1 MB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.237, allocations: 86.38 kB / 1.367 GB, free: 1.914 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.01039/1.247, allocations: 3.477 MB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.983e-06/1.247, allocations: 0 / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.317e-06/1.247, allocations: 3.25 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.0006413/1.248, allocations: 468.8 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.248, allocations: 12.03 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/1.248, allocations: 11.86 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.248, allocations: 180.4 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/1.248, allocations: 4 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/1.248, allocations: 7.312 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/1.248, allocations: 68.47 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.248, allocations: 0 / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/1.248, allocations: 7.875 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.248, allocations: 3.953 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/1.248, allocations: 26.62 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/1.249, allocations: 330 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/1.249, allocations: 68.23 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/1.249, allocations: 36.8 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/1.249, allocations: 4 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/1.249, allocations: 90.78 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/1.249, allocations: 0 / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000307/1.25, allocations: 122.7 kB / 1.372 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.25, allocations: 59.39 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.25, allocations: 121 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/1.25, allocations: 33.2 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/1.25, allocations: 99.17 kB / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/1.25, allocations: 19.81 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/1.25, allocations: 4 kB / 1.372 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.25, allocations: 314.7 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/1.25, allocations: 19.69 kB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/1.25, allocations: 68.56 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.305e-05/1.25, allocations: 26.42 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.25, allocations: 0 / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001915/1.251, allocations: 116.8 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.251, allocations: 17.14 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.251, allocations: 0 / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.251, allocations: 4 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/1.251, allocations: 15.92 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.251, allocations: 4 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/1.251, allocations: 10.75 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/1.251, allocations: 8 kB / 1.373 GB, free: 12.55 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 9.153e-05/1.251, allocations: 122.4 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/1.251, allocations: 11.89 kB / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/1.251, allocations: 11.45 kB / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.251, allocations: 0 / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/1.251, allocations: 0 / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.251, allocations: 4 kB / 1.373 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/1.252, allocations: 400.5 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.252, allocations: 4 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/1.252, allocations: 15.89 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.252, allocations: 0 / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.252, allocations: 3.984 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.252, allocations: 0 / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.252, allocations: 0 / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/1.252, allocations: 221.2 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/1.252, allocations: 85.02 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/1.252, allocations: 3.953 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.252, allocations: 18.92 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/1.252, allocations: 4 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/1.252, allocations: 7.922 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.018e-05/1.252, allocations: 100 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.252, allocations: 0 / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003344/1.253, allocations: 67.05 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.0004269/1.253, allocations: 180.4 kB / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001863/1.253, allocations: 68.34 kB / 1.374 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.253, allocations: 0 / 1.374 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/1.253, allocations: 41.73 kB / 1.374 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/1.254, allocations: 6.516 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.0003501/1.254, allocations: 127.6 kB / 1.374 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/1.254, allocations: 0.6926 MB / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.566e-05/1.254, allocations: 11.77 kB / 1.375 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/1.254, allocations: 11.44 kB / 1.375 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.254, allocations: 0 / 1.375 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.004776/1.259, allocations: 1.952 MB / 1.377 GB, free: 8.438 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ac.TIn,ac.occ,ac.on Variables in the result:Tin.amplitude,Tin.f,Tin.offset,Tin.phase,Tin.startTime,Tin.y,ac.L1,ac.L2,ac.TIn,ac.k1,ac.k2,ac.occ,ac.on,ac.samplePeriod,ac.seed,ac.t0,ac.u1,ac.u2,occ.startTime,occ.startValue,time