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.001471/0.001471, allocations: 102.9 kB / 16.41 MB, free: 6.465 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.00166/0.00166, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.08 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.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7973, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002658/0.8, allocations: 1.643 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.8013, allocations: 0.7843 MB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.8014, allocations: 1.25 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.8015, allocations: 10.36 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.8015, allocations: 21.06 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.8022, allocations: 154.7 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.8024, allocations: 157.2 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.8025, allocations: 21.41 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.8026, allocations: 71.8 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.8028, allocations: 76.73 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.8028, allocations: 16.27 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.803, allocations: 97.3 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.8031, allocations: 38.66 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.8032, allocations: 58.92 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.8035, allocations: 211.1 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8035, allocations: 4.688 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8035, allocations: 0 / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8035, allocations: 0 / 1.092 GB, free: 3.438 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007108/0.8043, allocations: 0.5354 MB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.8043, allocations: 9.156 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.8044, allocations: 11.61 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.8044, allocations: 188.7 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.8045, allocations: 11.5 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.8045, allocations: 6.25 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.805, allocations: 149.5 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.805, allocations: 0 / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.805, allocations: 1.734 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8051, allocations: 0.875 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.8055, allocations: 108.8 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.8063, allocations: 380 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.8067, allocations: 99.88 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.807, allocations: 85.84 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.807, allocations: 1.469 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004846/0.8075, allocations: 144.1 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.8075, allocations: 0 / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001189/0.8087, allocations: 307.5 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.8088, allocations: 58.55 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.8089, allocations: 150.7 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.8089, allocations: 35.23 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.809, allocations: 95.94 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.809, allocations: 24.83 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.8091, allocations: 31.27 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.8092, allocations: 328.9 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.8093, allocations: 39.59 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.8095, allocations: 81.67 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.8098, allocations: 120.1 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8098, allocations: 0.8906 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004067/0.8102, allocations: 160.9 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.8102, allocations: 6.922 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.8102, allocations: 9.422 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.8103, allocations: 6.281 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.8104, allocations: 23.47 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.8105, allocations: 2.703 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.8106, allocations: 17.64 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.8106, allocations: 5.344 kB / 1.095 GB, free: 1.102 MB / 0.8575 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 0.0001102/0.8107, allocations: 129 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.8108, allocations: 9.516 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.8108, allocations: 16.81 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.8108, allocations: 0.9688 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8108, allocations: 1.547 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8108, allocations: 0 / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.812, allocations: 0.5245 MB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.812, allocations: 0.8438 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.8121, allocations: 12.12 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8121, allocations: 1.578 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.8122, allocations: 3.891 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8122, allocations: 4.625 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8122, allocations: 0.8438 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.813, allocations: 324 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.8131, allocations: 96.5 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.8131, allocations: 2.516 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.8134, allocations: 25.19 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.8135, allocations: 14.66 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.8135, allocations: 4.875 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.535e-05/0.8136, allocations: 110.2 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8136, allocations: 192 / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004251/0.814, allocations: 46.91 kB / 1.096 GB, free: 192 kB / 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: 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.0004514/0.8145, allocations: 178 kB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006217/0.8151, allocations: 140.8 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8151, allocations: 0 / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.8155, allocations: 93.7 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.8159, allocations: 14.03 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.8168, allocations: 302.5 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.8171, allocations: 0.698 MB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.8172, allocations: 14.25 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of SimCode: time 6.72e-07/0.8172, allocations: 4 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of Templates: time 0.00525/0.8224, allocations: 2.139 MB / 1.1 GB, free: 14.88 MB / 0.8731 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/jenkins1/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