Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.001077/0.001077, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009455/0.009455, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.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.409/2.409, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003993, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7957, allocations: 142.4 MB / 0.955 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001763/0.7975, allocations: 1.304 MB / 0.9563 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.799, allocations: 0.7674 MB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.799, allocations: 4 kB / 0.9571 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.7991, allocations: 3.938 kB / 0.9571 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.7992, allocations: 18.75 kB / 0.9571 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.7998, allocations: 126.2 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.8, allocations: 125.2 kB / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.8001, allocations: 22.75 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.8003, allocations: 52.64 kB / 0.9574 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.8004, allocations: 65.73 kB / 0.9575 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.8004, allocations: 5.562 kB / 0.9575 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.8007, allocations: 96.28 kB / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.8007, allocations: 27.73 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.8008, allocations: 74.83 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.8011, allocations: 178.7 kB / 0.9578 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8011, allocations: 0 / 0.9578 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8011, allocations: 4 kB / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.8011, allocations: 3.938 kB / 0.9578 GB, free: 5.457 MB / 0.7169 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.000725/0.8018, allocations: 472.8 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8019, allocations: 9 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.802, allocations: 9.719 kB / 0.9583 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.8021, allocations: 179.2 kB / 0.9585 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.8021, allocations: 12.28 kB / 0.9585 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.8022, allocations: 8.5 kB / 0.9585 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.8024, allocations: 105 kB / 0.9586 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8025, allocations: 0 / 0.9586 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.8025, allocations: 0 / 0.9586 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8025, allocations: 1.844 kB / 0.9586 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.8027, allocations: 78.02 kB / 0.9587 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.8036, allocations: 385.2 kB / 0.959 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.8038, allocations: 75.53 kB / 0.9591 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.804, allocations: 61.48 kB / 0.9592 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.804, allocations: 1.344 kB / 0.9592 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.8043, allocations: 111.7 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.8043, allocations: 0 / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006323/0.8049, allocations: 232.5 kB / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.805, allocations: 54 kB / 0.9596 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.8051, allocations: 150 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.8052, allocations: 30.89 kB / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.8052, allocations: 96.59 kB / 0.9598 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.8052, allocations: 23.02 kB / 0.9598 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.8053, allocations: 23.38 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.8054, allocations: 321 kB / 0.9602 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.8055, allocations: 42.88 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.8056, allocations: 86.48 kB / 0.9603 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.8059, allocations: 123.4 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8059, allocations: 1.125 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003848/0.8063, allocations: 159 kB / 0.9606 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.8063, allocations: 9.484 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.8064, allocations: 5.438 kB / 0.9606 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.8064, allocations: 2.75 kB / 0.9606 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.8065, allocations: 21.67 kB / 0.9606 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8066, allocations: 6.688 kB / 0.9606 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.8067, allocations: 20.09 kB / 0.9606 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.8067, allocations: 12.14 kB / 0.9606 GB, free: 2.996 MB / 0.7169 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 8.573e-05/0.8068, allocations: 124.7 kB / 0.9608 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.8068, allocations: 8.031 kB / 0.9608 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.8069, allocations: 11.47 kB / 0.9608 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8069, allocations: 5.359 kB / 0.9608 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.8069, allocations: 3.938 kB / 0.9608 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8069, allocations: 0 / 0.9608 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.8074, allocations: 475.4 kB / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8075, allocations: 0 / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.8075, allocations: 8.25 kB / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8075, allocations: 3.938 kB / 0.9612 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.8076, allocations: 9.469 kB / 0.9613 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8076, allocations: 5.312 kB / 0.9613 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8076, allocations: 0 / 0.9613 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.808, allocations: 276 kB / 0.9615 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.808, allocations: 98.88 kB / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.808, allocations: 1.812 kB / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.8082, allocations: 10.91 kB / 0.9616 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.8082, allocations: 7.047 kB / 0.9616 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.8083, allocations: 6.953 kB / 0.9616 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.8083, allocations: 104.2 kB / 0.9617 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8083, allocations: 0 / 0.9617 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003946/0.8087, allocations: 46.95 kB / 0.9618 GB, free: 1.996 MB / 0.7169 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.000373/0.8091, allocations: 170.6 kB / 0.962 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.8095, allocations: 123.2 kB / 0.9621 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8095, allocations: 1.031 kB / 0.9621 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.8097, allocations: 63.41 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.81, allocations: 20.59 kB / 0.9621 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.8106, allocations: 257 kB / 0.9624 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.8108, allocations: 0.7015 MB / 0.9631 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.317e-05/0.8109, allocations: 11.95 kB / 0.9631 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.8109, allocations: 11.44 kB / 0.9631 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.8109, allocations: 0.9688 kB / 0.9631 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of Templates: time 0.006057/0.817, allocations: 1.833 MB / 0.9649 GB, free: 15.89 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches