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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.005969/0.005969, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001408/0.001408, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5992, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002796/0.602, allocations: 1.706 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.6035, allocations: 0.8064 MB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.6035, allocations: 4 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.6036, allocations: 3.938 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.72e-05/0.6037, allocations: 15.84 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.6042, allocations: 123.7 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.6044, allocations: 151.5 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.6045, allocations: 21.11 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.6046, allocations: 59.83 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.6048, allocations: 71.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.6048, allocations: 11.94 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.605, allocations: 99.91 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.6051, allocations: 27.89 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.6052, allocations: 55.72 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.6054, allocations: 153.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.6054, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6054, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6054, allocations: 0 / 1.02 GB, free: 15.45 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.0008115/0.6062, allocations: 0.5331 MB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.6063, allocations: 12.03 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.6063, allocations: 8.844 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.6065, allocations: 197.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.6065, allocations: 12.36 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.6065, allocations: 4.375 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.607, allocations: 133.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.607, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.6071, allocations: 11.94 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6071, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.6075, allocations: 99.89 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.6083, allocations: 388.5 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.6087, allocations: 102.5 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.609, allocations: 80.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.609, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.6095, allocations: 147.2 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.6095, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001116/0.6106, allocations: 305.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.6107, allocations: 59.55 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.6108, allocations: 148.1 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.6108, allocations: 29.7 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.6109, allocations: 104.3 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.6109, allocations: 23.66 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.611, allocations: 29.7 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6111, allocations: 326.8 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.6113, allocations: 43.97 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.6114, allocations: 77.11 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.6117, allocations: 129 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6117, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003679/0.6121, allocations: 153.4 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6121, allocations: 8 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6121, allocations: 0 / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6121, allocations: 8.125 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.6123, allocations: 15.98 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.6123, allocations: 7.938 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.6124, allocations: 23.92 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.6125, allocations: 4.375 kB / 1.024 GB, free: 11.99 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.0001061/0.6126, allocations: 128.7 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.6126, allocations: 11.91 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.6127, allocations: 16.72 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6127, allocations: 3.938 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6127, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.6127, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6137, allocations: 0.5179 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6137, allocations: 3.938 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/0.6138, allocations: 11.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6138, allocations: 3.938 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.6139, allocations: 11.98 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6139, allocations: 7.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6139, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.6147, allocations: 327.1 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.6147, allocations: 85.02 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.6148, allocations: 8 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.615, allocations: 23.91 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.6151, allocations: 7.984 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.6151, allocations: 7.984 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.899e-05/0.6152, allocations: 107.9 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6152, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003417/0.6155, allocations: 51.92 kB / 1.025 GB, free: 10.57 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.0003628/0.6159, allocations: 159.6 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.6164, allocations: 147.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6164, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.6168, allocations: 83.92 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.6171, allocations: 11.98 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.6178, allocations: 324.9 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.6181, allocations: 0.6983 MB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.6181, allocations: 11.44 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6181, allocations: 0 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of Templates: time 0.004241/0.6224, allocations: 2.155 MB / 1.028 GB, free: 6.949 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/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