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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00114/0.00114, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001556/0.001556, allocations: 168.7 kB / 15.95 MB, free: 204 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.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005586/0.0005586, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7717, allocations: 142.4 MB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001464/0.7732, allocations: 1.213 MB / 0.9556 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.7742, allocations: 0.7109 MB / 0.9563 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.7743, allocations: 0 / 0.9563 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.7743, allocations: 3.938 kB / 0.9563 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.7744, allocations: 10.23 kB / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.7748, allocations: 105.9 kB / 0.9564 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.775, allocations: 94.78 kB / 0.9565 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.7751, allocations: 8.984 kB / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.7751, allocations: 42.77 kB / 0.9566 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.7752, allocations: 56.42 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.7753, allocations: 4.469 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.7754, allocations: 86.38 kB / 0.9567 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.7755, allocations: 20.2 kB / 0.9567 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.7755, allocations: 40.3 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.7757, allocations: 118.7 kB / 0.9569 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7757, allocations: 1.125 kB / 0.9569 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7757, allocations: 0 / 0.9569 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.7757, allocations: 0 / 0.9569 GB, free: 5.766 MB / 0.7169 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.0005037/0.7762, allocations: 443.7 kB / 0.9573 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7762, allocations: 14.41 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.7763, allocations: 11.33 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.7764, allocations: 182.8 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.7764, allocations: 3 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.7764, allocations: 4.375 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.7767, allocations: 92.88 kB / 0.9576 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.7767, allocations: 0 / 0.9576 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.7767, allocations: 5.172 kB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.7767, allocations: 5.281 kB / 0.9576 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.7769, allocations: 54.39 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.7776, allocations: 342.2 kB / 0.958 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.7777, allocations: 68.7 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.7779, allocations: 48.3 kB / 0.9581 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7779, allocations: 5.062 kB / 0.9581 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.7781, allocations: 98.41 kB / 0.9582 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.592e-06/0.7781, allocations: 0 / 0.9582 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005096/0.7786, allocations: 200.3 kB / 0.9584 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.7787, allocations: 61.7 kB / 0.9584 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.7788, allocations: 123.4 kB / 0.9586 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.7788, allocations: 34.84 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.7788, allocations: 86.7 kB / 0.9587 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.7789, allocations: 18.66 kB / 0.9587 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.7789, allocations: 3.219 kB / 0.9587 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.7789, allocations: 322.8 kB / 0.959 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.779, allocations: 31.23 kB / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.7791, allocations: 66.27 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.272e-05/0.7792, allocations: 51.3 kB / 0.9591 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7792, allocations: 0 / 0.9591 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002331/0.7794, allocations: 133.9 kB / 0.9593 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7795, allocations: 11 kB / 0.9593 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7795, allocations: 5.359 kB / 0.9593 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.7795, allocations: 5.328 kB / 0.9593 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.7796, allocations: 14.81 kB / 0.9593 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.7796, allocations: 6.984 kB / 0.9593 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.7797, allocations: 9.562 kB / 0.9593 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.7797, allocations: 4.75 kB / 0.9593 GB, free: 3.52 MB / 0.7169 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 7.194e-05/0.7798, allocations: 123.3 kB / 0.9595 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.7798, allocations: 6.938 kB / 0.9595 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.7799, allocations: 18.45 kB / 0.9595 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7799, allocations: 4.828 kB / 0.9595 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7799, allocations: 1.062 kB / 0.9595 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7799, allocations: 0 / 0.9595 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.7804, allocations: 439.9 kB / 0.9599 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.7804, allocations: 5.328 kB / 0.9599 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.7804, allocations: 3.781 kB / 0.9599 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.7805, allocations: 5.391 kB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.7805, allocations: 5.172 kB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7805, allocations: 0 / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7805, allocations: 1.312 kB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.7808, allocations: 252.4 kB / 0.9602 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.7809, allocations: 83.23 kB / 0.9602 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.7809, allocations: 5.141 kB / 0.9602 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.781, allocations: 13.89 kB / 0.9603 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.7811, allocations: 6.672 kB / 0.9603 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.7811, allocations: 6.719 kB / 0.9603 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.7811, allocations: 95.58 kB / 0.9604 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7811, allocations: 0 / 0.9604 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003135/0.7814, allocations: 42.61 kB / 0.9604 GB, free: 2.555 MB / 0.7169 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.0003256/0.7818, allocations: 174.6 kB / 0.9606 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.7821, allocations: 100.7 kB / 0.9607 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7821, allocations: 0 / 0.9607 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.7822, allocations: 53.38 kB / 0.9607 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.7825, allocations: 18.36 kB / 0.9607 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.7829, allocations: 218.6 kB / 0.9609 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.783, allocations: 0.6957 MB / 0.9616 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.7831, allocations: 7.906 kB / 0.9616 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.7831, allocations: 11.56 kB / 0.9616 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7831, allocations: 0 / 0.9616 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Templates: time 0.004233/0.7874, allocations: 1.611 MB / 0.9632 GB, free: 0.6094 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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