Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001851/0.001851, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.303/1.303, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.343/2.343, allocations: 437 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 67.48 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003106/0.2851, allocations: 1.567 MB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2864, allocations: 0.7206 MB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.2865, allocations: 11.94 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.2865, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.2866, allocations: 15.84 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.2872, allocations: 107.8 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2873, allocations: 67.84 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.2874, allocations: 11.98 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2875, allocations: 43.91 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.2876, allocations: 39.83 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2876, allocations: 4 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2878, allocations: 95.84 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2879, allocations: 15.92 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.2879, allocations: 39.84 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2881, allocations: 96.06 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2881, allocations: 0 / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2881, allocations: 3.938 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2881, allocations: 0 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006873/0.2888, allocations: 421 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2889, allocations: 12.03 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.2889, allocations: 8.781 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2891, allocations: 176.2 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.2891, allocations: 4.375 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.2891, allocations: 12.3 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2893, allocations: 77.95 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2894, allocations: 0 / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2894, allocations: 4 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2894, allocations: 0 / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.2895, allocations: 35.97 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.2901, allocations: 308.8 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.2903, allocations: 58.5 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.2904, allocations: 28.97 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2904, allocations: 4 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.2906, allocations: 79.44 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.2906, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003931/0.291, allocations: 145.7 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2911, allocations: 55.39 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2912, allocations: 121.8 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2912, allocations: 29.7 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.2913, allocations: 88.12 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.2913, allocations: 19.75 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.2914, allocations: 29.7 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2915, allocations: 318.8 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.2916, allocations: 31.97 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.415e-05/0.2917, allocations: 55.36 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2918, allocations: 79.34 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2918, allocations: 4 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.2921, allocations: 113.5 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2921, allocations: 4 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2921, allocations: 0 / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2921, allocations: 4 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.2922, allocations: 15.92 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2922, allocations: 0 / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.2923, allocations: 15.95 kB / 1.022 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2924, allocations: 8 kB / 1.022 GB, free: 5.602 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.858e-05/0.2925, allocations: 117.8 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.2925, allocations: 4 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.2925, allocations: 8.375 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2925, allocations: 7.938 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2925, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2925, allocations: 7.922 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.293, allocations: 390.3 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.293, allocations: 0 / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.2931, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2931, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2931, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.2931, allocations: 8.062 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2931, allocations: 3.938 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.2934, allocations: 215.3 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.2934, allocations: 81.11 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2935, allocations: 4.047 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.2936, allocations: 11.97 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2936, allocations: 3.938 kB / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2936, allocations: 7.984 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.542e-05/0.2937, allocations: 91.88 kB / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2937, allocations: 0 / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003142/0.294, allocations: 47.92 kB / 1.023 GB, free: 4.504 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003481/0.2944, allocations: 159.5 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.2946, allocations: 75.89 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2946, allocations: 128 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.7e-05/0.2947, allocations: 39.92 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.295, allocations: 4 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.2954, allocations: 222 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2956, allocations: 0.6924 MB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.2957, allocations: 7.438 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.2957, allocations: 0 / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of Templates: time 0.003519/0.2992, allocations: 1.623 MB / 1.026 GB, free: 1.637 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches