Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00137/0.00137, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00139/0.00139, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7931, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002842/0.796, allocations: 1.635 MB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.7975, allocations: 0.7829 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.7975, allocations: 7.938 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.7976, allocations: 11.86 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.7977, allocations: 19.8 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.7984, allocations: 159.5 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.7986, allocations: 155.5 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.7987, allocations: 21.12 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.7988, allocations: 63.81 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.799, allocations: 79.72 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.799, allocations: 16 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.7992, allocations: 99.84 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.7993, allocations: 35.89 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.7994, allocations: 63.7 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.7997, allocations: 199.2 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7997, allocations: 7.984 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7997, allocations: 4 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.7997, allocations: 0 / 1.212 GB, free: 10.3 MB / 0.9356 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.0009213/0.8007, allocations: 0.531 MB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.8007, allocations: 12.03 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.8008, allocations: 12.75 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.8009, allocations: 188.1 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.801, allocations: 16.36 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.801, allocations: 4.375 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.8015, allocations: 137.9 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8015, allocations: 0 / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.8015, allocations: 0 / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8015, allocations: 4 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.8019, allocations: 107.9 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.8027, allocations: 380.5 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.8031, allocations: 98.5 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.8034, allocations: 84.8 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.8035, allocations: 12.23 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.8039, allocations: 143.2 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.8039, allocations: 0 / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001148/0.8051, allocations: 313.2 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.8051, allocations: 55.41 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.8053, allocations: 148.6 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.8053, allocations: 33.7 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.8054, allocations: 100.4 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.8054, allocations: 23.66 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.8055, allocations: 29.7 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8056, allocations: 330.8 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.8057, allocations: 35.97 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.8059, allocations: 81.11 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.8062, allocations: 121 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8062, allocations: 4 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003684/0.8066, allocations: 157.4 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.8066, allocations: 4 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8066, allocations: 4 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8066, allocations: 0 / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.8068, allocations: 23.98 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8068, allocations: 0 / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.8069, allocations: 19.83 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.8069, allocations: 4.125 kB / 1.215 GB, free: 6.855 MB / 0.9356 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.0001107/0.807, allocations: 135.2 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.8071, allocations: 11.89 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.8071, allocations: 12.72 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8071, allocations: 0 / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8071, allocations: 0 / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8071, allocations: 0 / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.8082, allocations: 0.5333 MB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8082, allocations: 0 / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.8083, allocations: 15.98 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.8083, allocations: 0 / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.8083, allocations: 8.453 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.8083, allocations: 3.938 kB / 1.215 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8083, allocations: 3.938 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008126/0.8092, allocations: 327.3 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.8092, allocations: 96.88 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.8093, allocations: 0 / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.8095, allocations: 23.91 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.8096, allocations: 15.92 kB / 1.216 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.8096, allocations: 4 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.519e-05/0.8097, allocations: 113.3 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8097, allocations: 0 / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003342/0.81, allocations: 47.98 kB / 1.216 GB, free: 5.414 MB / 0.9356 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.000353/0.8104, allocations: 173.8 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.8109, allocations: 143.9 kB / 1.216 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8109, allocations: 0 / 1.216 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.8113, allocations: 96.11 kB / 1.216 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.8116, allocations: 8 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007192/0.8123, allocations: 297.8 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.8126, allocations: 0.7002 MB / 1.217 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.8126, allocations: 15.42 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8126, allocations: 0 / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of Templates: time 0.004162/0.8168, allocations: 2.139 MB / 1.22 GB, free: 1.816 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches