Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001464/0.001464, allocations: 104.9 kB / 16.4 MB, free: 5.977 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.001632/0.001632, allocations: 188.8 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8591, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002609/0.8617, allocations: 1.518 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.863, allocations: 0.7568 MB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.8631, allocations: 0 / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.8632, allocations: 13.31 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.8632, allocations: 11.02 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.8638, allocations: 138.9 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.864, allocations: 102.3 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8641, allocations: 16.05 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.8642, allocations: 46.98 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.8643, allocations: 53.84 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.8643, allocations: 9.781 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.8646, allocations: 101.1 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.8646, allocations: 25.98 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.8647, allocations: 36.14 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.865, allocations: 165.6 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.865, allocations: 4.875 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.983e-06/0.865, allocations: 4.688 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.865, allocations: 4 kB / 1.092 GB, free: 3.637 MB / 0.8575 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.000646/0.8657, allocations: 451.3 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8657, allocations: 9.594 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.8658, allocations: 10.03 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.8659, allocations: 178.1 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.8659, allocations: 7.688 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.8659, allocations: 5.391 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.8662, allocations: 95.02 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8662, allocations: 0 / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.8662, allocations: 1.891 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8662, allocations: 1.125 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.8664, allocations: 51.42 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007313/0.8672, allocations: 346.6 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.8674, allocations: 57.47 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.8675, allocations: 48.66 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.8675, allocations: 5.641 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.8678, allocations: 94.05 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.8678, allocations: 0 / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005867/0.8684, allocations: 187.5 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8684, allocations: 54.48 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.8685, allocations: 127.1 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.8686, allocations: 31.5 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.8686, allocations: 104.3 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.8686, allocations: 20.02 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.8687, allocations: 31.48 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.8687, allocations: 324.2 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.8688, allocations: 33.38 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.869, allocations: 66.48 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.8691, allocations: 94.28 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8691, allocations: 0.8438 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000272/0.8694, allocations: 134.5 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.8694, allocations: 5.891 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8695, allocations: 1.75 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8695, allocations: 2.125 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.8696, allocations: 13.67 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8696, allocations: 2.844 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.8697, allocations: 9.609 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.8697, allocations: 5.109 kB / 1.094 GB, free: 1.527 MB / 0.8575 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.177e-05/0.8698, allocations: 132.2 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.8698, allocations: 12.36 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.8699, allocations: 11.42 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.8699, allocations: 1.594 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8699, allocations: 0 / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.8699, allocations: 1.641 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.8704, allocations: 436.5 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8705, allocations: 0.7969 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.8705, allocations: 4.719 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8705, allocations: 0.9375 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8705, allocations: 4.125 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8705, allocations: 0 / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8705, allocations: 4.781 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.8709, allocations: 241.5 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.871, allocations: 88.12 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.871, allocations: 5.969 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.8711, allocations: 6.938 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.8712, allocations: 9.109 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.8712, allocations: 8.484 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.8712, allocations: 97.38 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8712, allocations: 1.25 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003484/0.8716, allocations: 44.39 kB / 1.095 GB, free: 0.6406 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.872, allocations: 170.6 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.8723, allocations: 93.62 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8723, allocations: 0.9375 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.8724, allocations: 54.08 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8727, allocations: 6.906 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.8732, allocations: 239.6 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.8735, allocations: 0.693 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.8735, allocations: 12.81 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8735, allocations: 0 / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.004964/0.8785, allocations: 1.812 MB / 1.098 GB, free: 15.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches