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.001758/0.001758, allocations: 111 kB / 16.41 MB, free: 6.48 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.002144/0.002144, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.13 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.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.8044, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002586/0.807, allocations: 1.601 MB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.8083, allocations: 0.7693 MB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.8083, allocations: 1 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.8084, allocations: 9.375 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.8084, allocations: 16.06 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.809, allocations: 153.3 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.8092, allocations: 138.9 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.8093, allocations: 19.05 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.8095, allocations: 63.16 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.8096, allocations: 73.62 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.8096, allocations: 11.94 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.8098, allocations: 107.6 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.8099, allocations: 28.98 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.8099, allocations: 53.19 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.8102, allocations: 194.5 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.8102, allocations: 3.938 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8102, allocations: 1.062 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8103, allocations: 4.922 kB / 1.092 GB, free: 3.512 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.0006586/0.8109, allocations: 480.6 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.811, allocations: 14.41 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.811, allocations: 9.844 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.8111, allocations: 189.9 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.8112, allocations: 8.156 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.8112, allocations: 9.938 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.8114, allocations: 93.03 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8115, allocations: 0 / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.8115, allocations: 4.703 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.8115, allocations: 5.609 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.8117, allocations: 61.8 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.8125, allocations: 377.7 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.8127, allocations: 70.16 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.8128, allocations: 52.06 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.8129, allocations: 1.375 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.8131, allocations: 102.3 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.8131, allocations: 1 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005633/0.8137, allocations: 216.8 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.8137, allocations: 59.39 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.8139, allocations: 145.4 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.8139, allocations: 30.64 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.8139, allocations: 95.52 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.814, allocations: 25.41 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.8141, allocations: 31.69 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.8141, allocations: 324.9 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.8143, allocations: 41.8 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.8144, allocations: 74.8 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.8147, allocations: 111.7 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8147, allocations: 0.7812 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004004/0.8151, allocations: 164.2 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.8152, allocations: 5.625 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8152, allocations: 6.25 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.8152, allocations: 1.469 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.8154, allocations: 22.5 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.8154, allocations: 9.672 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.8155, allocations: 16.36 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.8156, allocations: 9.203 kB / 1.094 GB, free: 1.289 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 0.0001027/0.8157, allocations: 116.9 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.8157, allocations: 13.52 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.8158, allocations: 12.3 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.8158, allocations: 1.375 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.8158, allocations: 4.625 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.8158, allocations: 1.172 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.8165, allocations: 452.8 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.8165, allocations: 0 / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.8166, allocations: 12.95 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.8166, allocations: 8.859 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.8166, allocations: 11.75 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8166, allocations: 0.6094 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8166, allocations: 0.75 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.8171, allocations: 268.4 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.8171, allocations: 92.3 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.8172, allocations: 5.297 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8173, allocations: 7.625 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.8174, allocations: 9.484 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.8174, allocations: 5.422 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.8175, allocations: 105.4 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8175, allocations: 192 / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003936/0.8179, allocations: 44.28 kB / 1.096 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.0004361/0.8183, allocations: 172.1 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.8188, allocations: 114.5 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8188, allocations: 0 / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.819, allocations: 55.7 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.8193, allocations: 20.86 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.8199, allocations: 253.7 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.8202, allocations: 0.6965 MB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.8203, allocations: 14.03 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8203, allocations: 0 / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.0052/0.8255, allocations: 2.047 MB / 1.099 GB, free: 15.11 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/jenkins1/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