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.006859/0.006859, allocations: 104.8 kB / 15.74 MB, free: 5.984 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.001275/0.001275, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.308/2.308, allocations: 390.2 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9165, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002721/0.9193, allocations: 1.588 MB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.9207, allocations: 0.7781 MB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.9208, allocations: 1.312 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.257e-05/0.9209, allocations: 9.656 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.647e-05/0.921, allocations: 20.17 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.9217, allocations: 148.5 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.9219, allocations: 139.8 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.922, allocations: 23 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.9221, allocations: 58.86 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.9223, allocations: 74.16 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.9223, allocations: 11.97 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.9226, allocations: 99.52 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.9226, allocations: 37.36 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.789e-05/0.9227, allocations: 52.08 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.9231, allocations: 195 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.9231, allocations: 0.75 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9231, allocations: 0 / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.9231, allocations: 0 / 1.091 GB, free: 3.492 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.0008076/0.9239, allocations: 486.2 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.924, allocations: 9.562 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.924, allocations: 14.66 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9241, allocations: 185.7 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.9242, allocations: 8.391 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.9242, allocations: 9.844 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.9245, allocations: 104.5 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9245, allocations: 0 / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.9245, allocations: 0.9375 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9245, allocations: 2.297 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.9248, allocations: 65.64 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.9256, allocations: 368.8 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.9258, allocations: 71.28 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.926, allocations: 56.05 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.926, allocations: 4.953 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.9263, allocations: 98.08 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.9263, allocations: 1 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006158/0.9269, allocations: 225.6 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.927, allocations: 54.7 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.9271, allocations: 147.7 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.9271, allocations: 30.83 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.9272, allocations: 95.75 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.9272, allocations: 20.42 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.9273, allocations: 31.78 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.9273, allocations: 330.1 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.9275, allocations: 36.39 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.9276, allocations: 79.17 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.9279, allocations: 116.4 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9279, allocations: 0.6875 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003853/0.9283, allocations: 152.5 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9283, allocations: 5.406 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9283, allocations: 1.656 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.9284, allocations: 6.234 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.9285, allocations: 17.97 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9285, allocations: 6.031 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.9287, allocations: 20.2 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.9287, allocations: 5.5 kB / 1.094 GB, free: 1.27 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.669e-05/0.9288, allocations: 125.2 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.9288, allocations: 9.453 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.9289, allocations: 15.95 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9289, allocations: 1.594 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9289, allocations: 4.453 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.9289, allocations: 1.344 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.9295, allocations: 456.1 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9295, allocations: 1.219 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.9296, allocations: 7.766 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9296, allocations: 8.656 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.9296, allocations: 3.859 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9296, allocations: 4.656 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9296, allocations: 1.453 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.93, allocations: 271.6 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.9301, allocations: 92.41 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.9301, allocations: 6.172 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.9303, allocations: 10.41 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.9303, allocations: 14.58 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.9303, allocations: 5.297 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.9304, allocations: 107.3 kB / 1.095 GB, free: 372 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9304, allocations: 0 / 1.095 GB, free: 372 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003665/0.9308, allocations: 44.69 kB / 1.095 GB, free: 364 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.0003875/0.9312, allocations: 164.6 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.9316, allocations: 107.2 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9316, allocations: 0.6875 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.9317, allocations: 58.34 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.932, allocations: 28.44 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.9326, allocations: 220.3 kB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.9329, allocations: 0.6947 MB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.9329, allocations: 11.17 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.933, allocations: 20.03 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.933, allocations: 0.6562 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.006103/0.9391, allocations: 1.961 MB / 1.098 GB, free: 15.13 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