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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.41 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.683/2.683, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6776, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003521/0.6812, allocations: 1.59 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.683, allocations: 0.7789 MB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.6831, allocations: 3.938 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.6832, allocations: 7.938 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.6833, allocations: 19.8 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.684, allocations: 151.8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.6842, allocations: 135.6 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.6844, allocations: 19.98 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.6845, allocations: 59.83 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.6846, allocations: 67.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.6847, allocations: 12 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.6849, allocations: 103.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.6849, allocations: 35.88 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.442e-05/0.685, allocations: 51.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.6854, allocations: 193.1 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6854, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6854, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.6854, allocations: 4 kB / 1.02 GB, free: 15.27 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.0008719/0.6863, allocations: 482.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6863, allocations: 8.031 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.6864, allocations: 16.73 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.6866, allocations: 181.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.6866, allocations: 4.375 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.6867, allocations: 12.12 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.6869, allocations: 97.61 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6869, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.687, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.687, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.6872, allocations: 59.95 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/0.6881, allocations: 388.4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.6883, allocations: 70.55 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.6885, allocations: 44.84 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.6885, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.6888, allocations: 107.3 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.6888, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005884/0.6894, allocations: 209.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.6894, allocations: 55.41 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.6896, allocations: 153.6 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.6896, allocations: 33.7 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.6897, allocations: 100.4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.6897, allocations: 19.72 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.6898, allocations: 29.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.69, allocations: 322.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.6901, allocations: 39.97 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.6902, allocations: 77.52 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.6905, allocations: 112.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6905, allocations: 8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003179/0.6908, allocations: 149.4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6908, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6908, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.6909, allocations: 4.047 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.691, allocations: 31.89 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6911, allocations: 7.938 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.6912, allocations: 16.05 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.6912, allocations: 7.938 kB / 1.023 GB, free: 12.2 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.0001117/0.6913, allocations: 127.4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.6913, allocations: 7.906 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.6914, allocations: 13.09 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6914, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6914, allocations: 3.938 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6914, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.692, allocations: 470.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.692, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.6921, allocations: 7.984 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6921, allocations: 3.938 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.6921, allocations: 7.984 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6921, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6921, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.6926, allocations: 267.3 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.6926, allocations: 96.8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.6926, allocations: 7.984 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.6928, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.6928, allocations: 7.984 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.6929, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.427e-05/0.6929, allocations: 111.2 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6929, allocations: 4 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003235/0.6933, allocations: 44 kB / 1.024 GB, free: 10.93 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.0004166/0.6937, allocations: 171.6 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.694, allocations: 115.8 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6941, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.6943, allocations: 59.91 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.6945, allocations: 11.94 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.6951, allocations: 232.8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.6954, allocations: 0.6958 MB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.85e-05/0.6954, allocations: 20 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.6955, allocations: 11.44 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6955, allocations: 0 / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.005015/0.7005, allocations: 1.965 MB / 1.027 GB, free: 7.633 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