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.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.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.001095/0.001095, allocations: 100.1 kB / 15.88 MB, free: 12 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.001034/0.001034, allocations: 196.9 kB / 16.79 MB, free: 6.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.326/1.326, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.561/2.561, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 59.91 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.5996, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002938/0.6026, allocations: 1.538 MB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.604, allocations: 0.7401 MB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.604, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.6041, allocations: 7.875 kB / 1.02 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.6042, allocations: 19.91 kB / 1.02 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.6047, allocations: 99.77 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.6048, allocations: 67.84 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.6049, allocations: 11.98 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.605, allocations: 27.86 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.6051, allocations: 39.83 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.6051, allocations: 4 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.6053, allocations: 95.91 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.6053, allocations: 15.92 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.6054, allocations: 31.84 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.6056, allocations: 93.8 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6056, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.11e-07/0.6056, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6056, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.7637 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.0006608/0.6063, allocations: 413 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6063, allocations: 19.97 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.6064, allocations: 12.84 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.6065, allocations: 180.2 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.6065, allocations: 4.375 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.6066, allocations: 4.375 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.6068, allocations: 73.97 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.6068, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6068, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6068, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.6069, allocations: 43.95 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.6076, allocations: 320.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.6077, allocations: 46.55 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.6078, allocations: 36.97 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.6078, allocations: 3.938 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.608, allocations: 79.31 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.608, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000396/0.6084, allocations: 137.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.6085, allocations: 55.41 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.6086, allocations: 125.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.6086, allocations: 29.7 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.6087, allocations: 84.14 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.6087, allocations: 15.81 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.6088, allocations: 29.7 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6089, allocations: 322.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.609, allocations: 23.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.6091, allocations: 62.42 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.6092, allocations: 66.56 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6092, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002448/0.6095, allocations: 125.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6095, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6095, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.6095, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.6096, allocations: 15.92 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6096, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.6097, allocations: 15.83 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.6097, allocations: 8 kB / 1.022 GB, free: 13.44 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.729e-05/0.6098, allocations: 122.3 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.6099, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.6099, allocations: 4.375 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6099, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6099, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6099, allocations: 3.984 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.6104, allocations: 382.3 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6104, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.6104, allocations: 11.98 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6104, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6105, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.6105, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6105, allocations: 3.938 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.6108, allocations: 215.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.6108, allocations: 77.11 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.6108, allocations: 8 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.6109, allocations: 3.984 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.611, allocations: 7.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.611, allocations: 11.98 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.611, allocations: 91.88 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.244e-06/0.6111, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003024/0.6114, allocations: 47.86 kB / 1.023 GB, free: 12.36 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.0003315/0.6117, allocations: 158.6 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.6119, allocations: 75.89 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.612, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.6121, allocations: 31.98 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.6123, allocations: 8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.6128, allocations: 228.4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.613, allocations: 0.6887 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.6131, allocations: 11.44 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.6131, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of Templates: time 0.003629/0.6167, allocations: 1.612 MB / 1.026 GB, free: 9.496 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