Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 106.4 kB / 15.99 MB, free: 6.359 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.001397/0.001397, allocations: 199.6 kB / 16.91 MB, free: 6.199 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.308/1.308, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.35/2.35, allocations: 437 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 57.44 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2621, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003046/0.2652, allocations: 1.698 MB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2666, allocations: 0.7791 MB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.2667, allocations: 4 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.2668, allocations: 7.938 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.2669, allocations: 19.78 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.2676, allocations: 135.7 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.2678, allocations: 151.6 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2679, allocations: 25.05 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.268, allocations: 67.77 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2682, allocations: 79.72 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.2682, allocations: 12 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.2684, allocations: 107.8 kB / 1.02 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.2685, allocations: 31.89 kB / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.2685, allocations: 63.72 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2688, allocations: 148 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2688, allocations: 4 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2688, allocations: 0 / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2688, allocations: 0 / 1.021 GB, free: 7.672 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008801/0.2697, allocations: 0.5407 MB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2697, allocations: 8.922 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.2698, allocations: 12.84 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2699, allocations: 190.4 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.2699, allocations: 4.375 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.27, allocations: 12.38 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.2705, allocations: 141.8 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2705, allocations: 3.938 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2705, allocations: 7.984 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2705, allocations: 0 / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.2709, allocations: 99.91 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.2717, allocations: 384.5 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.2721, allocations: 106.5 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.2724, allocations: 84.73 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2724, allocations: 8.125 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.2728, allocations: 139.3 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.2728, allocations: 4 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001055/0.2739, allocations: 305.3 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.274, allocations: 59.77 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2741, allocations: 142.5 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2741, allocations: 25.7 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.2742, allocations: 104.3 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2742, allocations: 27.59 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.2743, allocations: 33.7 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2744, allocations: 326.8 kB / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2745, allocations: 43.91 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2747, allocations: 82.11 kB / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.2749, allocations: 121 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2749, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003498/0.2753, allocations: 161.4 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2753, allocations: 4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2753, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2754, allocations: 4 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.2756, allocations: 19.92 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2756, allocations: 4 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2757, allocations: 20.02 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.2757, allocations: 8 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001007/0.2758, allocations: 128.7 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2759, allocations: 7.906 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.2759, allocations: 12.72 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2759, allocations: 4 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2759, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2759, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.2769, allocations: 0.5294 MB / 1.024 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2769, allocations: 0 / 1.024 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.277, allocations: 15.98 kB / 1.024 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.277, allocations: 0 / 1.024 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2771, allocations: 7.984 kB / 1.024 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2771, allocations: 7.938 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2771, allocations: 7.922 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.2778, allocations: 335.2 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.2779, allocations: 81.11 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2779, allocations: 7.938 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.2781, allocations: 27.91 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.2782, allocations: 11.98 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2782, allocations: 3.984 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001178/0.2783, allocations: 113.1 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2783, allocations: 0 / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000328/0.2787, allocations: 47.98 kB / 1.025 GB, free: 2.77 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,win.occ,win.on,win.p,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): 6 * 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.000332/0.279, allocations: 155.7 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.2795, allocations: 143.8 kB / 1.025 GB, free: 2.484 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2795, allocations: 0 / 1.025 GB, free: 2.484 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.2799, allocations: 100.1 kB / 1.025 GB, free: 2.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.2801, allocations: 5.109 kB / 1.025 GB, free: 2.383 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.2808, allocations: 326 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.2812, allocations: 0.7066 MB / 1.026 GB, free: 1.305 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.2812, allocations: 15.44 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2812, allocations: 0 / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of Templates: time 0.003922/0.2852, allocations: 2.146 MB / 1.029 GB, free: 15.15 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches