Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.869/2.869, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003948, allocations: 8.719 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4021, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001808/0.404, allocations: 1.214 MB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4053, allocations: 0.7133 MB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.4054, allocations: 3.938 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.4054, allocations: 4 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.4055, allocations: 11.86 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.4061, allocations: 111.7 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.4063, allocations: 87.75 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4064, allocations: 15.98 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4066, allocations: 39.89 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.4067, allocations: 43.83 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.4068, allocations: 8 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.407, allocations: 87.84 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.4071, allocations: 19.95 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.4072, allocations: 41.64 kB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4074, allocations: 112 kB / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4074, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4074, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.4074, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 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.0007544/0.4082, allocations: 450.5 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4082, allocations: 8.031 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.4083, allocations: 7.906 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4084, allocations: 167 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.4085, allocations: 15.94 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.4085, allocations: 7.953 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.4088, allocations: 89.62 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4088, allocations: 0 / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4088, allocations: 0 / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4089, allocations: 4 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.4091, allocations: 59.94 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.4101, allocations: 352.5 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.4103, allocations: 62.55 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.4104, allocations: 52.83 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4105, allocations: 160 / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.4107, allocations: 107.4 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.4107, allocations: 0 / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000575/0.4113, allocations: 193.5 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4114, allocations: 55.41 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4115, allocations: 132.8 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.4115, allocations: 25.7 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.4116, allocations: 92.14 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4117, allocations: 23.78 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.4117, allocations: 3.938 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4118, allocations: 322.8 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.4119, allocations: 35.98 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.412, allocations: 72.2 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/0.4121, allocations: 32 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4122, allocations: 0 / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003318/0.4125, allocations: 141.3 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4125, allocations: 9.406 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4125, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4126, allocations: 4 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4127, allocations: 20.08 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4127, allocations: 7.938 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.4128, allocations: 8 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.4128, allocations: 11.98 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.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 0.0002004/0.413, allocations: 129.7 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.413, allocations: 7.906 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.4131, allocations: 8.375 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4131, allocations: 4 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4131, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4131, allocations: 3.984 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.4138, allocations: 422.5 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4138, allocations: 3.938 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.4138, allocations: 8 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4139, allocations: 7.984 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4139, allocations: 4 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4139, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4139, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.4143, allocations: 259.3 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.4145, allocations: 85 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4145, allocations: 4 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4146, allocations: 7.984 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.4147, allocations: 4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4147, allocations: 7.984 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.4148, allocations: 95.27 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4148, allocations: 4 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003228/0.4151, allocations: 43.94 kB / 1.064 GB, free: 14.88 MB / 0.8262 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.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.0004045/0.4155, allocations: 167.8 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.4158, allocations: 99.88 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4158, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.416, allocations: 52.38 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.4163, allocations: 13.52 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.4167, allocations: 229 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.4172, allocations: 0.6887 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.4172, allocations: 11.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.4172, allocations: 11.44 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4172, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.004677/0.4219, allocations: 1.619 MB / 1.067 GB, free: 11.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0