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.002004/0.002004, 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.002211/0.002211, allocations: 195.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.497/1.497, 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.846/2.846, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.6979, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003232/0.7012, allocations: 1.639 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.7028, allocations: 0.7907 MB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.7029, allocations: 0 / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.7029, allocations: 11.86 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.703, allocations: 19.75 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.7036, allocations: 159.5 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.7038, allocations: 151.7 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.7039, allocations: 21.11 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.7041, allocations: 67.7 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.7042, allocations: 79.66 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.7042, allocations: 16 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.7044, allocations: 103.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.7045, allocations: 31.91 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.7046, allocations: 67.69 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.705, allocations: 205.6 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.705, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.705, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.705, allocations: 0 / 1.021 GB, free: 15.31 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008311/0.7059, allocations: 0.5368 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.7059, allocations: 8.031 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.706, allocations: 12.84 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.7061, allocations: 199.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.7062, allocations: 4.375 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.7062, allocations: 8.375 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.7066, allocations: 145.9 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7067, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.7067, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.7067, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.7071, allocations: 95.91 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.708, allocations: 388.5 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.7083, allocations: 98.5 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.7087, allocations: 84.94 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.7087, allocations: 7.984 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.7092, allocations: 143.2 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 3.307e-06/0.7092, allocations: 112 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001181/0.7104, allocations: 309.2 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7105, allocations: 55.41 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.7106, allocations: 142.1 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.7107, allocations: 37.69 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.7108, allocations: 104.3 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.7108, allocations: 23.64 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.7109, allocations: 37.64 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.711, allocations: 322.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.7112, allocations: 39.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.7114, allocations: 85.12 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.7117, allocations: 125 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.7117, allocations: 4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003841/0.7121, allocations: 157.4 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.7121, allocations: 4 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7121, allocations: 4.125 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.7122, allocations: 4.094 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.7123, allocations: 27.95 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7123, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.7125, allocations: 11.94 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.7125, allocations: 11.92 kB / 1.024 GB, free: 11.84 MB / 0.7794 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.000118/0.7126, allocations: 130.5 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.7126, allocations: 11.81 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.7127, allocations: 16.72 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7127, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7127, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7127, allocations: 3.984 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.7139, allocations: 0.5217 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7139, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.714, allocations: 11.98 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.714, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.714, allocations: 3.984 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.714, allocations: 7.875 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.714, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.7149, allocations: 335.1 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.7149, allocations: 89.2 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.715, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.7152, allocations: 31.78 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.7153, allocations: 11.98 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.7153, allocations: 7.984 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.7154, allocations: 104.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7154, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003513/0.7158, allocations: 51.92 kB / 1.025 GB, free: 10.41 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: 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.0003885/0.7162, allocations: 162.9 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000593/0.7168, allocations: 151.8 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7168, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.7171, allocations: 83.92 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.7174, allocations: 12.12 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.7182, allocations: 264.6 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.7185, allocations: 0.6963 MB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.613e-05/0.7186, allocations: 8.172 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.7186, allocations: 15.42 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7186, allocations: 0 / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.005526/0.7242, allocations: 2.012 MB / 1.028 GB, free: 6.988 MB / 0.7794 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=400 -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/jenkins/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