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.001721/0.001721, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002022/0.002022, allocations: 195.7 kB / 16.14 MB, free: 6.648 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.671/2.671, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 75.88 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6795, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003311/0.6829, allocations: 1.655 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.6844, allocations: 0.7909 MB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.6845, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.6846, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.6847, allocations: 23.78 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.6852, allocations: 119.7 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.6854, allocations: 127.6 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.6856, allocations: 23.98 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.6857, allocations: 47.92 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.6858, allocations: 63.7 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.6859, allocations: 11.94 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.6861, allocations: 95.84 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.6861, allocations: 31.89 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.6862, allocations: 51.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.6865, allocations: 189.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6865, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6865, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6865, allocations: 0 / 1.02 GB, free: 15.55 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.0009269/0.6875, allocations: 486.4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6875, allocations: 8.031 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.6876, allocations: 16.84 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.6878, allocations: 180.7 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.6878, allocations: 4.375 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.6878, allocations: 12.12 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.6881, allocations: 97.56 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6881, allocations: 3.984 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.6882, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.6882, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.6884, allocations: 67.95 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.6893, allocations: 372.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.6896, allocations: 70.55 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.6897, allocations: 52.83 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.6898, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.6901, allocations: 107.3 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.6901, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000622/0.6907, allocations: 213.4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.6908, allocations: 51.41 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.6909, allocations: 156.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.691, allocations: 26.08 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.691, allocations: 96.38 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.6911, allocations: 23.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.6911, allocations: 33.7 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6913, allocations: 326.8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.6914, allocations: 43.97 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.6916, allocations: 68.27 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.6918, allocations: 112.2 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6918, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000324/0.6921, allocations: 153.4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6922, allocations: 4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6922, allocations: 8.094 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6922, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.6923, allocations: 27.92 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.6924, allocations: 4.047 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.6925, allocations: 23.77 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.6925, allocations: 4 kB / 1.022 GB, free: 12.48 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.0001055/0.6926, allocations: 119.9 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.6926, allocations: 15.89 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.6927, allocations: 12.72 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6927, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.6927, allocations: 8.047 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6927, allocations: 3.984 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.6934, allocations: 458.5 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6934, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.6935, allocations: 19.92 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6935, allocations: 3.938 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.6935, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6935, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6936, allocations: 3.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.694, allocations: 267.2 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.694, allocations: 92.89 kB / 1.023 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.6941, allocations: 8.188 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.6942, allocations: 7.984 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.6943, allocations: 11.92 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.6943, allocations: 4 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.263e-05/0.6944, allocations: 109.3 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6944, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003375/0.6947, allocations: 44 kB / 1.024 GB, free: 11.22 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.0004282/0.6951, allocations: 159.4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.6955, allocations: 111.8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6955, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.6956, allocations: 52.16 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.696, allocations: 27.86 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.6965, allocations: 242.5 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.6968, allocations: 0.7005 MB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.738e-05/0.6969, allocations: 15.86 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.6969, allocations: 15.44 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6969, allocations: 0 / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of Templates: time 0.004832/0.7018, allocations: 1.845 MB / 1.027 GB, free: 8.027 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