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.001562/0.001562, 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.001952/0.001952, allocations: 195.9 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.705/2.705, allocations: 437 MB / 0.7104 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.8692 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.6982, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003223/0.7014, allocations: 1.623 MB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.703, allocations: 0.7907 MB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.7031, allocations: 0 / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.7032, allocations: 7.875 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.7033, allocations: 23.78 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/0.704, allocations: 159.6 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.7042, allocations: 159.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.7043, allocations: 13.12 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.7045, allocations: 71.75 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.7046, allocations: 75.73 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.7046, allocations: 16 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.7049, allocations: 95.91 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.7049, allocations: 43.88 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.705, allocations: 59.66 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.7053, allocations: 213.5 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7053, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7053, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.7053, allocations: 0 / 1.021 GB, free: 15.38 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.0008525/0.7062, allocations: 0.5407 MB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7062, allocations: 8.031 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.7063, allocations: 12.84 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.7065, allocations: 190 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.7065, allocations: 8.375 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.7065, allocations: 8.359 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.707, allocations: 149.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.707, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.7071, allocations: 3.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7071, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.7075, allocations: 103.9 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.7083, allocations: 376.6 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.7087, allocations: 102.4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.709, allocations: 88.78 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.709, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.7095, allocations: 143.3 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.7095, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001157/0.7107, allocations: 301.6 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.7107, allocations: 59.52 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.7109, allocations: 156.3 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.7109, allocations: 33.64 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.711, allocations: 108.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.711, allocations: 23.66 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.7111, allocations: 29.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7112, allocations: 326.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.7113, allocations: 39.97 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.7115, allocations: 89.11 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.7118, allocations: 117 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7118, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003539/0.7121, allocations: 157.4 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7122, allocations: 4.125 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7122, allocations: 4 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7122, allocations: 4 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.7123, allocations: 23.92 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7124, allocations: 4 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.7125, allocations: 15.92 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.7125, allocations: 4 kB / 1.024 GB, free: 11.91 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.0001038/0.7126, allocations: 125.7 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.7126, allocations: 19.81 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.7127, allocations: 12.7 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7127, allocations: 4 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7127, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7127, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/0.7137, allocations: 0.5217 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7137, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.7138, allocations: 11.98 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7138, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.7138, allocations: 7.984 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.7138, allocations: 3.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7138, allocations: 96 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.7146, allocations: 339.2 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.7147, allocations: 89 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.7147, allocations: 4 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.7149, allocations: 23.91 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.715, allocations: 11.98 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.715, allocations: 3.938 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.7151, allocations: 113.1 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7151, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003266/0.7154, allocations: 51.94 kB / 1.025 GB, free: 10.48 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.0003494/0.7158, allocations: 173.1 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005383/0.7163, allocations: 143.8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7164, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.7167, allocations: 91.89 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.717, allocations: 12.25 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.7177, allocations: 260.4 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.7179, allocations: 0.6963 MB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.718, allocations: 7.984 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.718, allocations: 15.38 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.718, allocations: 4 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of Templates: time 0.004839/0.7229, allocations: 2.01 MB / 1.028 GB, free: 7.047 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=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/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