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.004973/0.004973, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001244/0.001244, allocations: 187 kB / 16.67 MB, free: 5.922 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.214/2.214, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.8982, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002498/0.9008, allocations: 1.589 MB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.9022, allocations: 0.7714 MB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.9023, allocations: 0.7812 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.9023, allocations: 6.531 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.9024, allocations: 23.45 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.9031, allocations: 153.2 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.9033, allocations: 136 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.9034, allocations: 22.86 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.9035, allocations: 58.47 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.9036, allocations: 74.31 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.9036, allocations: 16.56 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.9039, allocations: 103.8 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.9039, allocations: 29.03 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.904, allocations: 55.25 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.9043, allocations: 191.3 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9043, allocations: 5.797 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9043, allocations: 3.938 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9043, allocations: 0 / 1.091 GB, free: 3.527 MB / 0.8575 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.0006835/0.905, allocations: 487.8 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.9051, allocations: 9.688 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.9051, allocations: 11.09 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.862e-05/0.9052, allocations: 187.3 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.9052, allocations: 3.859 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.9053, allocations: 13.25 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.9055, allocations: 93.36 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9056, allocations: 0 / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.9056, allocations: 1.406 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9056, allocations: 4.969 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.9058, allocations: 65.5 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.9067, allocations: 378.3 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.9068, allocations: 70.06 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.907, allocations: 52.66 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.907, allocations: 8.828 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.9073, allocations: 99.3 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.9073, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.00057/0.9078, allocations: 217.3 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.9079, allocations: 55.41 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.908, allocations: 149 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.908, allocations: 27.67 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.9081, allocations: 99.22 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.9081, allocations: 25.03 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.9082, allocations: 35.73 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.9082, allocations: 321.3 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.9083, allocations: 40.81 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.9085, allocations: 79.2 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.9087, allocations: 112.1 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9087, allocations: 0.6875 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003568/0.9091, allocations: 160.8 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9091, allocations: 5.094 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9091, allocations: 1.891 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.9092, allocations: 2.719 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.9093, allocations: 20.95 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.9093, allocations: 6.125 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.9094, allocations: 11.84 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.9095, allocations: 5.688 kB / 1.094 GB, free: 1.312 MB / 0.8575 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.058e-05/0.9096, allocations: 132.8 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.9096, allocations: 9.812 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.9096, allocations: 12.31 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9096, allocations: 1.344 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9096, allocations: 4.656 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.9096, allocations: 0.5625 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.9103, allocations: 461 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.9103, allocations: 5.031 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.9104, allocations: 8.453 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.9104, allocations: 8.625 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.9104, allocations: 8.422 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9104, allocations: 4.062 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.9104, allocations: 0.5938 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.9108, allocations: 268.3 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.9108, allocations: 92.09 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.9109, allocations: 2.031 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.911, allocations: 7.078 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.9111, allocations: 6.344 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.9111, allocations: 8.266 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.9112, allocations: 107.2 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9112, allocations: 0.8438 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003517/0.9115, allocations: 52.44 kB / 1.095 GB, free: 400 kB / 0.8575 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.0003201/0.9118, allocations: 166.5 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.9122, allocations: 114.2 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9122, allocations: 0.8438 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.9124, allocations: 63.22 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.9127, allocations: 19.8 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.9131, allocations: 222.1 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.9134, allocations: 0.6955 MB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.349e-05/0.9135, allocations: 10.36 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.9135, allocations: 12.67 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9135, allocations: 0 / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.005528/0.9191, allocations: 1.965 MB / 1.098 GB, free: 15.16 MB / 0.8731 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