Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 107 kB / 16.41 MB, free: 6.5 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.001744/0.001744, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.597/1.597, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.89 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.8993, allocations: 151.6 MB / 1.167 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002807/0.9021, allocations: 1.591 MB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.9035, allocations: 0.7752 MB / 1.17 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.9036, allocations: 7.875 kB / 1.17 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.9037, allocations: 11.92 kB / 1.17 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.9037, allocations: 15.81 kB / 1.17 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.9043, allocations: 151.5 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.9045, allocations: 139.6 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.9046, allocations: 19.98 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.9048, allocations: 55.88 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.9049, allocations: 75.72 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.9049, allocations: 12 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.9051, allocations: 103.8 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.9052, allocations: 31.91 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.9053, allocations: 55.7 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.9056, allocations: 192.3 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9056, allocations: 0 / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.22e-07/0.9056, allocations: 0 / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.9056, allocations: 4 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008555/0.9065, allocations: 490.2 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.9065, allocations: 11.97 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.9065, allocations: 8.891 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.9067, allocations: 190 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.9068, allocations: 8.375 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.9068, allocations: 12.11 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.9071, allocations: 97.7 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.9071, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.9072, allocations: 7.938 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.9072, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.9074, allocations: 63.89 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.9083, allocations: 368.7 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.9085, allocations: 66.55 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.9086, allocations: 56.83 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.9087, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.9089, allocations: 111.2 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.909, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006019/0.9096, allocations: 209.5 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.9096, allocations: 59.39 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.9098, allocations: 139.3 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.9098, allocations: 33.7 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.9099, allocations: 108.4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.9099, allocations: 19.84 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.91, allocations: 29.7 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.9102, allocations: 327.2 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.9103, allocations: 35.97 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.9105, allocations: 81.64 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.9108, allocations: 112.1 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9108, allocations: 3.938 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003647/0.9111, allocations: 161.5 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.9112, allocations: 4 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.9112, allocations: 3.984 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.9112, allocations: 4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.9114, allocations: 19.92 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9114, allocations: 7.938 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.9115, allocations: 11.95 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.9115, allocations: 12.19 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001178/0.9116, allocations: 128 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.9117, allocations: 7.953 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.9117, allocations: 12.66 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9117, allocations: 4 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.9117, allocations: 7.922 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9117, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.9126, allocations: 462.3 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9126, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.9127, allocations: 4 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9127, allocations: 3.938 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.9127, allocations: 7.984 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.9127, allocations: 4.062 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9128, allocations: 0 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.9132, allocations: 271.3 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.9133, allocations: 88.98 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.9133, allocations: 4 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.9135, allocations: 4 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.9135, allocations: 11.98 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.9136, allocations: 3.984 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.004e-05/0.9136, allocations: 105.1 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9136, allocations: 4 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003393/0.914, allocations: 51.86 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004003/0.9144, allocations: 166.8 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.9148, allocations: 115.9 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9148, allocations: 0 / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.915, allocations: 55.97 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.9153, allocations: 15.92 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.9158, allocations: 228.3 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.9162, allocations: 0.7102 MB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.873e-05/0.9163, allocations: 4 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.9163, allocations: 15.44 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9164, allocations: 192 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.005517/0.9219, allocations: 1.976 MB / 1.178 GB, free: 9.145 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches