Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002438/0.002438, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.481/2.481, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6962/0.6974, allocations: 140.4 MB / 0.9489 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002476/0.6999, allocations: 1.687 MB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7011, allocations: 0.8003 MB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.7011, allocations: 1.375 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.7012, allocations: 7.922 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.7012, allocations: 15.11 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.7017, allocations: 134.9 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.7018, allocations: 147 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.7019, allocations: 18.45 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.702, allocations: 67.69 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.7021, allocations: 71.23 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.7022, allocations: 11.44 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.7023, allocations: 89.44 kB / 0.9519 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.7024, allocations: 37.69 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.7025, allocations: 51.31 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.7027, allocations: 207.1 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7027, allocations: 0 / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7027, allocations: 0 / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7027, allocations: 1.281 kB / 0.9522 GB, free: 6.668 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006574/0.7034, allocations: 0.5391 MB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.7034, allocations: 9 kB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.7035, allocations: 11.19 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.393e-05/0.7036, allocations: 186.5 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.7036, allocations: 11.03 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.7036, allocations: 5.125 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.7041, allocations: 155.9 kB / 0.9531 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7041, allocations: 4 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.7041, allocations: 1.344 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7041, allocations: 1.562 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.7045, allocations: 107.3 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.7052, allocations: 376.9 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.7055, allocations: 103 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.7058, allocations: 86.94 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.7059, allocations: 1.156 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.7063, allocations: 142.5 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.7063, allocations: 0 / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001042/0.7074, allocations: 302.5 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.7074, allocations: 52.94 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.7075, allocations: 152.1 kB / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.7075, allocations: 31.7 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.7076, allocations: 108.7 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.7076, allocations: 14.53 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.7076, allocations: 35.45 kB / 0.9545 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.7077, allocations: 329 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.7078, allocations: 38.81 kB / 0.9549 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.708, allocations: 87.42 kB / 0.9549 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.7082, allocations: 118.9 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.7082, allocations: 3.938 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003884/0.7086, allocations: 155.8 kB / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7087, allocations: 9.5 kB / 0.9552 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7087, allocations: 6.203 kB / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7087, allocations: 2.469 kB / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.7088, allocations: 26.33 kB / 0.9553 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.7089, allocations: 1.375 kB / 0.9553 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.709, allocations: 16.08 kB / 0.9553 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.709, allocations: 8.281 kB / 0.9553 GB, free: 3.965 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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 7.248e-05/0.7091, allocations: 127.3 kB / 0.9554 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.7091, allocations: 12.97 kB / 0.9554 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.7091, allocations: 14.86 kB / 0.9554 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7091, allocations: 5.062 kB / 0.9554 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7092, allocations: 1.344 kB / 0.9554 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7092, allocations: 0 / 0.9554 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008547/0.71, allocations: 0.5217 MB / 0.9559 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.71, allocations: 0 / 0.9559 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.691e-05/0.7101, allocations: 13.11 kB / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7101, allocations: 0 / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.7102, allocations: 2.375 kB / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7102, allocations: 7.922 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7102, allocations: 5.031 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.7108, allocations: 324.8 kB / 0.9563 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.7109, allocations: 92.91 kB / 0.9564 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.7109, allocations: 5.234 kB / 0.9564 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.7111, allocations: 31.06 kB / 0.9564 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.7112, allocations: 7.984 kB / 0.9564 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.7112, allocations: 3.344 kB / 0.9564 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.7112, allocations: 111.2 kB / 0.9565 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7113, allocations: 4 kB / 0.9565 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000326/0.7116, allocations: 48 kB / 0.9566 GB, free: 2.879 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002951/0.7119, allocations: 170.4 kB / 0.9567 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.7124, allocations: 138.4 kB / 0.9569 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7124, allocations: 0 / 0.9569 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.7127, allocations: 93.23 kB / 0.957 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.713, allocations: 10.7 kB / 0.957 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.7136, allocations: 292 kB / 0.9572 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.7137, allocations: 0.6952 MB / 0.9579 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.7138, allocations: 8.641 kB / 0.9579 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.7138, allocations: 18.91 kB / 0.9579 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7138, allocations: 0 / 0.9579 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of Templates: time 0.004085/0.7179, allocations: 1.865 MB / 0.9598 GB, free: 0.7266 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches