Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001309/0.001309, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.389/1.389, 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 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7957, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002719/0.7984, allocations: 1.499 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.7998, allocations: 0.7245 MB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.7998, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.7999, allocations: 7.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.8, allocations: 7.875 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.8006, allocations: 127.6 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.8007, allocations: 83.69 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.8008, allocations: 11.95 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.8009, allocations: 39.91 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.801, allocations: 43.83 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.801, allocations: 4 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.8012, allocations: 95.84 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.8013, allocations: 15.98 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.8013, allocations: 27.8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.8016, allocations: 151.3 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8016, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8016, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.8016, allocations: 0 / 1.211 GB, free: 10.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006453/0.8022, allocations: 423 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8023, allocations: 8.031 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.8023, allocations: 8.844 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.8025, allocations: 172.3 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.8025, allocations: 12.3 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.8025, allocations: 12.31 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.8027, allocations: 65.97 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8027, allocations: 8 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.8028, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8028, allocations: 4 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.8029, allocations: 35.97 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.8036, allocations: 312.7 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.8037, allocations: 50.5 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/0.8038, allocations: 36.95 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.8038, allocations: 8.078 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.804, allocations: 75.36 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.804, allocations: 0 / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004006/0.8044, allocations: 145.4 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.8045, allocations: 55.41 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.8046, allocations: 125.7 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.8046, allocations: 25.7 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.8047, allocations: 92.14 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.8047, allocations: 11.81 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.8048, allocations: 29.7 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8049, allocations: 322.8 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.805, allocations: 23.98 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.8051, allocations: 63.78 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.8053, allocations: 75.36 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8053, allocations: 0 / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000251/0.8055, allocations: 121.5 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8056, allocations: 8 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8056, allocations: 3.938 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8056, allocations: 0 / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.8057, allocations: 15.98 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8057, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.8058, allocations: 7.938 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.8058, allocations: 4 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.697e-05/0.8059, allocations: 125.8 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.8059, allocations: 11.89 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.806, allocations: 8.312 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.806, allocations: 4 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.806, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.806, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.8064, allocations: 382.4 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.8065, allocations: 4 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.8065, allocations: 8.062 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8065, allocations: 0 / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.8065, allocations: 7.922 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.8065, allocations: 0 / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8066, allocations: 11.88 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.8068, allocations: 211.8 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.8069, allocations: 97.03 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.8069, allocations: 0 / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.807, allocations: 4 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.8071, allocations: 7.922 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.8071, allocations: 8 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.8071, allocations: 91.27 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8072, allocations: 0 / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003017/0.8075, allocations: 39.94 kB / 1.214 GB, free: 7.09 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003115/0.8078, allocations: 150.3 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.808, allocations: 75.89 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.808, allocations: 0 / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.8081, allocations: 35.92 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.8084, allocations: 20.59 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.8088, allocations: 198.1 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.8092, allocations: 0.6923 MB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.8092, allocations: 11.44 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.8093, allocations: 0 / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.003591/0.8128, allocations: 1.623 MB / 1.217 GB, free: 4.238 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches