Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009477/0.009477, allocations: 100.3 kB / 15.73 MB, free: 5.602 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.001686/0.001686, allocations: 189.5 kB / 16.67 MB, free: 5.523 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.612/2.612, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8858/0.8871, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002638/0.8897, allocations: 1.638 MB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.8911, allocations: 0.7916 MB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.8911, allocations: 0 / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.8911, allocations: 7.875 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.8912, allocations: 31.72 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.8918, allocations: 147.6 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.892, allocations: 155.5 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.8921, allocations: 17.11 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.8922, allocations: 63.83 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.8923, allocations: 79.66 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.8923, allocations: 16 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.8925, allocations: 107.8 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.8926, allocations: 35.89 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.8926, allocations: 63.7 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.8929, allocations: 207.8 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8929, allocations: 0 / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8929, allocations: 0 / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.8929, allocations: 4 kB / 1.224 GB, free: 14.76 MB / 0.9512 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.0007491/0.8937, allocations: 0.5366 MB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8937, allocations: 16.03 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.8938, allocations: 12.84 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.8939, allocations: 184.2 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.8939, allocations: 4.375 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.8939, allocations: 8.375 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.8944, allocations: 141.8 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8944, allocations: 4 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.8944, allocations: 4 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.8944, allocations: 4 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.8948, allocations: 99.84 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.8955, allocations: 384.6 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.8959, allocations: 94.44 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.8962, allocations: 84.78 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.8962, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.8966, allocations: 143.3 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.8966, allocations: 0 / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001084/0.8977, allocations: 309.3 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.8977, allocations: 55.78 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.8979, allocations: 144.9 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.8979, allocations: 29.7 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.8979, allocations: 100.3 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.898, allocations: 39.86 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.898, allocations: 33.7 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8982, allocations: 326.7 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.8983, allocations: 39.97 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.8984, allocations: 85.12 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.8987, allocations: 121 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8987, allocations: 4 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003519/0.899, allocations: 153.5 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.8991, allocations: 4 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8991, allocations: 4 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8991, allocations: 0 / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.8992, allocations: 27.91 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.8992, allocations: 4.125 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.8993, allocations: 15.89 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.8994, allocations: 11.98 kB / 1.227 GB, free: 11.29 MB / 0.9512 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.0001018/0.8995, allocations: 122.4 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.8995, allocations: 11.94 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.8995, allocations: 12.83 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8995, allocations: 3.938 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8995, allocations: 7.922 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8995, allocations: 4 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.9005, allocations: 0.5178 MB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9005, allocations: 4 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.9006, allocations: 11.98 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.9006, allocations: 3.984 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.9006, allocations: 4 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.9006, allocations: 3.938 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9006, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.9013, allocations: 331.4 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.9014, allocations: 85.11 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.9014, allocations: 7.938 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.9016, allocations: 31.91 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.9017, allocations: 7.984 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.9017, allocations: 7.984 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.347e-05/0.9018, allocations: 106.1 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9018, allocations: 0 / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003251/0.9021, allocations: 51.86 kB / 1.228 GB, free: 9.867 MB / 0.9512 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.0003351/0.9025, allocations: 177.8 kB / 1.228 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.903, allocations: 139.8 kB / 1.229 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.903, allocations: 4.25 kB / 1.229 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.9033, allocations: 87.84 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.9035, allocations: 12.47 kB / 1.229 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.9042, allocations: 272 kB / 1.229 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.9045, allocations: 0.704 MB / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.9045, allocations: 8.172 kB / 1.23 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.9046, allocations: 23.42 kB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.9046, allocations: 3.938 kB / 1.23 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of Templates: time 0.004617/0.9092, allocations: 2.017 MB / 1.232 GB, free: 6.398 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches