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.001176/0.001176, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009989/0.009989, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.527/1.527, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.892/2.892, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 12 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7921/0.7926, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002074/0.7947, allocations: 1.308 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.7963, allocations: 0.7675 MB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.7964, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.7964, allocations: 7.938 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.7965, allocations: 11.86 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.7971, allocations: 123.7 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.7973, allocations: 127.6 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.7975, allocations: 19.98 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.7976, allocations: 55.77 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.7977, allocations: 67.78 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.7977, allocations: 4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.798, allocations: 87.86 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.798, allocations: 31.83 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.7981, allocations: 73.42 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.7984, allocations: 189.5 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7984, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7984, allocations: 4 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7984, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.7794 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.0008256/0.7993, allocations: 466.5 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.7993, allocations: 12.03 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.7994, allocations: 8.844 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.7996, allocations: 185.4 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.7996, allocations: 12.38 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.7997, allocations: 12.12 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.8, allocations: 109.4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.8, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.8, allocations: 7.984 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.8002, allocations: 67.95 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.8012, allocations: 384.6 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.8014, allocations: 74.48 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.8015, allocations: 56.83 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.8016, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.8018, allocations: 103.3 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.8018, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006366/0.8025, allocations: 233.3 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.8026, allocations: 59.41 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.8027, allocations: 144.6 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.8027, allocations: 37.64 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.8028, allocations: 96.38 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.8029, allocations: 24.22 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.8029, allocations: 21.72 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8031, allocations: 318.8 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.8032, allocations: 47.97 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.8034, allocations: 84.2 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.8037, allocations: 120.2 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8037, allocations: 4 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003629/0.804, allocations: 165.5 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8041, allocations: 4 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8041, allocations: 4 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8041, allocations: 3.984 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.8043, allocations: 19.98 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8043, allocations: 4.047 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.8044, allocations: 23.78 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.8044, allocations: 16.02 kB / 1.029 GB, free: 9.797 MB / 0.7794 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.000112/0.8045, allocations: 117.8 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.8046, allocations: 7.906 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.8046, allocations: 12.72 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8046, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.8046, allocations: 3.938 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.8046, allocations: 7.984 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.8053, allocations: 462.4 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8053, allocations: 4 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.8054, allocations: 8 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.8054, allocations: 3.938 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.8054, allocations: 7.984 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8054, allocations: 8.062 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8054, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.8059, allocations: 279.3 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.806, allocations: 100.9 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.806, allocations: 0 / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.8061, allocations: 8 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.8062, allocations: 12.11 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.8062, allocations: 11.98 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.053e-05/0.8063, allocations: 109.6 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8063, allocations: 0 / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003315/0.8067, allocations: 43.98 kB / 1.03 GB, free: 8.512 MB / 0.7794 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.0004194/0.8071, allocations: 152.5 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.8075, allocations: 123.9 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8075, allocations: 0 / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.8077, allocations: 63.91 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.808, allocations: 19.86 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.8085, allocations: 257.5 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.8089, allocations: 0.6935 MB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.809, allocations: 20.05 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.809, allocations: 11.44 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.809, allocations: 3.938 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of Templates: time 0.005472/0.8145, allocations: 1.822 MB / 1.033 GB, free: 5.312 MB / 0.7794 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=400 -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/jenkins/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