Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001572, allocations: 106.6 kB / 16.27 MB, free: 5.984 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.001862/0.001862, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 4.098 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.635/2.635, allocations: 437.1 MB / 0.7111 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 0.8699 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5705, allocations: 151.6 MB / 1.018 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002651/0.5732, allocations: 1.483 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.5744, allocations: 0.7284 MB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.5745, allocations: 0 / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.5745, allocations: 3.938 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.5746, allocations: 11.86 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.5752, allocations: 131.6 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.5753, allocations: 75.72 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.5754, allocations: 11.98 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.5755, allocations: 35.91 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.5756, allocations: 39.91 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.5756, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.5758, allocations: 99.77 kB / 1.021 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.5758, allocations: 23.91 kB / 1.021 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.5759, allocations: 31.86 kB / 1.021 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.5761, allocations: 137.6 kB / 1.021 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5761, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5761, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.5761, allocations: 0 / 1.021 GB, free: 15.69 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005883/0.5767, allocations: 420.8 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5768, allocations: 15.97 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.5768, allocations: 12.83 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.5769, allocations: 164.3 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5769, allocations: 8.375 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.577, allocations: 8.375 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5771, allocations: 69.97 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5772, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5772, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5772, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5773, allocations: 39.95 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.5779, allocations: 328.6 kB / 1.022 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.578, allocations: 46.55 kB / 1.022 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.5781, allocations: 32.97 kB / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5781, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.5783, allocations: 87.31 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.5783, allocations: 0 / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000372/0.5787, allocations: 145.5 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5788, allocations: 55.41 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.5788, allocations: 121.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5789, allocations: 25.7 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.5789, allocations: 92.14 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.5789, allocations: 15.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.579, allocations: 25.72 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.5791, allocations: 326.8 kB / 1.023 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.5792, allocations: 19.98 kB / 1.023 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.5793, allocations: 54.55 kB / 1.023 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5795, allocations: 74.5 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5795, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002336/0.5797, allocations: 113.5 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5797, allocations: 4 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5797, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5798, allocations: 8.062 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.5799, allocations: 15.92 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5799, allocations: 4 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.5799, allocations: 19.83 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.58, allocations: 4 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 8.087e-05/0.58, allocations: 119.3 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.5801, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.5801, allocations: 12.38 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5801, allocations: 3.938 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5801, allocations: 7.969 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5801, allocations: 4 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.5805, allocations: 386.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5806, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.5806, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5806, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5806, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5806, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5806, allocations: 3.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.5809, allocations: 211.4 kB / 1.024 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.581, allocations: 81.02 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.581, allocations: 8 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.5811, allocations: 3.984 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.5811, allocations: 11.94 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5811, allocations: 7.984 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.5812, allocations: 87.28 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5812, allocations: 0 / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000296/0.5815, allocations: 43.92 kB / 1.024 GB, free: 12.04 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: 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.0003013/0.5818, allocations: 159.7 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.582, allocations: 75.89 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5821, allocations: 3.938 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.43e-05/0.5822, allocations: 31.98 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.5824, allocations: 6.625 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.5828, allocations: 221 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.583, allocations: 0.6942 MB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.5831, allocations: 11.44 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5831, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.00325/0.5863, allocations: 1.617 MB / 1.027 GB, free: 9.184 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches