Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.0009818/0.0009819, allocations: 172.9 kB / 492.3 MB, free: 0.6406 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.551/1.551, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0009283/0.0009285, allocations: 98.86 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.891e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.294, allocations: 151.3 MB / 1.36 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.295, allocations: 79.97 kB / 1.36 GB, free: 19.09 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.01055/1.305, allocations: 3.488 MB / 1.364 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.305, allocations: 0 / 1.364 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.305, allocations: 0 / 1.364 GB, free: 34.59 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.0006127/1.306, allocations: 460.7 kB / 1.364 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.306, allocations: 7.781 kB / 1.364 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/1.306, allocations: 14.95 kB / 1.364 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/1.306, allocations: 183.6 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/1.306, allocations: 7.781 kB / 1.364 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/1.306, allocations: 9.062 kB / 1.364 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/1.307, allocations: 68.41 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.307, allocations: 0 / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.307, allocations: 0 / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.307, allocations: 3.875 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/1.307, allocations: 31.66 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/1.307, allocations: 333.8 kB / 1.365 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/1.307, allocations: 62.11 kB / 1.365 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/1.307, allocations: 36.53 kB / 1.365 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/1.307, allocations: 0 / 1.365 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/1.308, allocations: 84.91 kB / 1.365 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/1.308, allocations: 0 / 1.365 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002772/1.308, allocations: 132.3 kB / 1.365 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/1.308, allocations: 54.47 kB / 1.365 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/1.308, allocations: 121.2 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.308, allocations: 28.89 kB / 1.365 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/1.308, allocations: 97.42 kB / 1.365 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/1.308, allocations: 16.66 kB / 1.365 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.308, allocations: 4 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.308, allocations: 324.2 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/1.308, allocations: 14.53 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/1.308, allocations: 70.55 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/1.308, allocations: 25.88 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.308, allocations: 0 / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001497/1.309, allocations: 110.7 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.309, allocations: 3.844 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.309, allocations: 7.969 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.309, allocations: 3.953 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/1.309, allocations: 21.36 kB / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.309, allocations: 3.844 kB / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/1.309, allocations: 6.797 kB / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/1.309, allocations: 3.844 kB / 1.366 GB, free: 32.78 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.532e-05/1.309, allocations: 122 kB / 1.366 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/1.309, allocations: 15.45 kB / 1.366 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/1.309, allocations: 15.44 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.309, allocations: 7.797 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.309, allocations: 0.9375 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.309, allocations: 0 / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/1.309, allocations: 402.2 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.309, allocations: 0 / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/1.309, allocations: 6.516 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.309, allocations: 11.7 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.31, allocations: 9.969 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.31, allocations: 0.875 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.31, allocations: 0 / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/1.31, allocations: 226.7 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/1.31, allocations: 77.11 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/1.31, allocations: 10.34 kB / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/1.31, allocations: 14.59 kB / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/1.31, allocations: 7.312 kB / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.31, allocations: 6.672 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.304e-05/1.31, allocations: 100.7 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.31, allocations: 0 / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003744/1.31, allocations: 68.91 kB / 1.367 GB, free: 32 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.0003683/1.311, allocations: 187.5 kB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001528/1.311, allocations: 70.77 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.311, allocations: 0 / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/1.311, allocations: 35.52 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/1.311, allocations: 10.39 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/1.312, allocations: 126 kB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.312, allocations: 0.699 MB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.696e-05/1.312, allocations: 7.594 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/1.312, allocations: 11.34 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.312, allocations: 0 / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of Templates: time 0.004376/1.316, allocations: 1.955 MB / 1.37 GB, free: 30.92 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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