Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001016/0.001016, allocations: 184 kB / 492.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009403/0.0009403, allocations: 90.59 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.786e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.318, allocations: 151.3 MB / 1.36 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.319, allocations: 87.97 kB / 1.36 GB, free: 18.89 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.01004/1.329, allocations: 3.471 MB / 1.364 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.329, allocations: 7.875 kB / 1.364 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.329, allocations: 0 / 1.364 GB, free: 34.41 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.0004892/1.329, allocations: 465.7 kB / 1.364 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.329, allocations: 9.438 kB / 1.364 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/1.329, allocations: 11.61 kB / 1.364 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/1.329, allocations: 174.7 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/1.33, allocations: 12.78 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/1.33, allocations: 7.781 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/1.33, allocations: 76.66 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/1.33, allocations: 0 / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.33, allocations: 5.594 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.33, allocations: 0 / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/1.33, allocations: 32.89 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/1.33, allocations: 330.6 kB / 1.365 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/1.33, allocations: 60.88 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/1.33, allocations: 36.97 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/1.331, allocations: 3.844 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/1.331, allocations: 86.98 kB / 1.365 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/1.331, allocations: 0 / 1.365 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002501/1.331, allocations: 127.1 kB / 1.365 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/1.331, allocations: 58.17 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/1.331, allocations: 123.5 kB / 1.365 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/1.331, allocations: 29.02 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/1.331, allocations: 96.5 kB / 1.365 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/1.331, allocations: 18.88 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.331, allocations: 4 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/1.331, allocations: 324.4 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/1.331, allocations: 13.69 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/1.331, allocations: 59.64 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/1.331, allocations: 32.05 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.331, allocations: 0 / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001438/1.331, allocations: 115 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.332, allocations: 3.906 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.332, allocations: 1.062 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.332, allocations: 11.8 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.332, allocations: 18.2 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.332, allocations: 3.719 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/1.332, allocations: 3.875 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/1.332, allocations: 7.594 kB / 1.366 GB, free: 32.59 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.409e-05/1.332, allocations: 122.8 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/1.332, allocations: 11.59 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/1.332, allocations: 11.44 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.332, allocations: 3.953 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.332, allocations: 7.844 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.332, allocations: 2.859 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/1.332, allocations: 403.6 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.332, allocations: 0 / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/1.332, allocations: 5.312 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.332, allocations: 7.766 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/1.333, allocations: 16.98 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.333, allocations: 0 / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.333, allocations: 0 / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/1.333, allocations: 218.4 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/1.333, allocations: 80.98 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/1.333, allocations: 5.594 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.333, allocations: 9.391 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/1.333, allocations: 14.12 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/1.333, allocations: 5.281 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.929e-05/1.333, allocations: 99.69 kB / 1.367 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.333, allocations: 0 / 1.367 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003422/1.333, allocations: 72.89 kB / 1.367 GB, free: 31.8 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.0004145/1.334, allocations: 186.9 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001414/1.334, allocations: 64.03 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.334, allocations: 0 / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.541e-05/1.334, allocations: 36.3 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/1.334, allocations: 13.28 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/1.335, allocations: 130.3 kB / 1.367 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/1.335, allocations: 0.7003 MB / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.439e-05/1.335, allocations: 7.688 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/1.335, allocations: 11.34 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.01e-07/1.335, allocations: 0 / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.004323/1.339, allocations: 1.952 MB / 1.37 GB, free: 30.73 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","../files/Buildings_9_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