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.001525/0.001525, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001699/0.001699, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.72/2.72, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.751, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002835/0.7539, allocations: 1.645 MB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.7551, allocations: 0.783 MB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.7552, allocations: 3.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.7553, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.7553, allocations: 27.78 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.7559, allocations: 127.7 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.7561, allocations: 135.7 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.7562, allocations: 15.98 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.88e-05/0.7563, allocations: 55.84 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.7564, allocations: 71.78 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.7564, allocations: 12 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.7566, allocations: 103.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.7566, allocations: 39.88 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.7567, allocations: 55.66 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.757, allocations: 193.5 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.757, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.757, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.757, allocations: 0 / 1.02 GB, free: 15.44 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.0007638/0.7578, allocations: 478.5 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.7578, allocations: 8.031 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.7579, allocations: 20.73 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.758, allocations: 177.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.758, allocations: 8.375 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.7581, allocations: 8.125 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.7583, allocations: 101.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7584, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.7584, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.7584, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.7586, allocations: 63.95 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.7594, allocations: 380.5 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.7596, allocations: 66.55 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.7597, allocations: 48.84 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.7598, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.76, allocations: 107.3 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.76, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000596/0.7606, allocations: 213.4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.7607, allocations: 51.41 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.7609, allocations: 152.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.7609, allocations: 29.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.761, allocations: 100.4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.761, allocations: 19.72 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.7611, allocations: 38.08 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7612, allocations: 318.8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7613, allocations: 39.97 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.7615, allocations: 80.27 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.7618, allocations: 116.1 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7618, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003489/0.7621, allocations: 157.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7621, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7622, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7622, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.7623, allocations: 27.91 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.7624, allocations: 3.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.7625, allocations: 19.95 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.7625, allocations: 7.938 kB / 1.023 GB, free: 12.37 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.0001226/0.7626, allocations: 126.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.7627, allocations: 7.906 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.7627, allocations: 12.72 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7627, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7627, allocations: 3.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7627, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.7634, allocations: 458.5 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7634, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.7635, allocations: 15.98 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7635, allocations: 7.938 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.7635, allocations: 3.984 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7635, allocations: 0 / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7635, allocations: 4 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.7639, allocations: 263.3 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.764, allocations: 96.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.764, allocations: 3.984 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7641, allocations: 8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.7642, allocations: 7.984 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.7642, allocations: 4.188 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.982e-05/0.7643, allocations: 109.3 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7643, allocations: 3.938 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00033/0.7646, allocations: 48 kB / 1.024 GB, free: 11.1 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.0004045/0.765, allocations: 153 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.7654, allocations: 119.9 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7654, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.7655, allocations: 55.97 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.7658, allocations: 12.03 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.7663, allocations: 256.6 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.7666, allocations: 0.6963 MB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.745e-05/0.7667, allocations: 19.91 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.7667, allocations: 11.62 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7667, allocations: 0 / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of Templates: time 0.004644/0.7713, allocations: 1.9 MB / 1.027 GB, free: 7.855 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=480 -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