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.0008177/0.0008178, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008975/0.008976, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.76/2.76, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003936, allocations: 8 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7277, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001859/0.7296, allocations: 1.199 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.731, allocations: 0.7209 MB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.7311, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.7311, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.7312, allocations: 11.88 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.7317, allocations: 111.7 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.81e-05/0.7318, allocations: 75.77 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.7319, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.732, allocations: 39.91 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.7321, allocations: 31.83 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.7321, allocations: 4 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.7323, allocations: 95.84 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.7323, allocations: 11.92 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.7324, allocations: 53.56 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.7326, allocations: 133.6 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7326, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.11e-06/0.7326, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7327, allocations: 3.938 kB / 1.025 GB, free: 13.36 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.0005888/0.7333, allocations: 413 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.7333, allocations: 12.03 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.7333, allocations: 8.844 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.7335, allocations: 168.3 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.7335, allocations: 8.375 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.7335, allocations: 4.375 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.7337, allocations: 73.97 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.7337, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.7338, allocations: 11.98 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7338, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.7339, allocations: 39.92 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.7346, allocations: 328.7 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.7347, allocations: 46.56 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.7348, allocations: 40.95 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.7349, allocations: 7.938 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.7351, allocations: 87.28 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.7351, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004038/0.7355, allocations: 145.6 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.7356, allocations: 51.41 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.7357, allocations: 129.7 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.7357, allocations: 29.7 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.7358, allocations: 88.14 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.7358, allocations: 15.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.7358, allocations: 17.72 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.736, allocations: 330.8 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.7361, allocations: 23.98 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.7362, allocations: 54.48 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.7363, allocations: 82.86 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7363, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002366/0.7366, allocations: 121.5 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.7366, allocations: 12 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7366, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.7367, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.7368, allocations: 15.92 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.7368, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.7368, allocations: 7.938 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.7369, allocations: 11.98 kB / 1.028 GB, free: 10.77 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 9.369e-05/0.737, allocations: 125.8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.737, allocations: 7.906 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.737, allocations: 8.375 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.737, allocations: 3.938 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.737, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.737, allocations: 4 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.7375, allocations: 386.4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7375, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.7376, allocations: 7.984 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7376, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.7376, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7376, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.7376, allocations: 7.938 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.7379, allocations: 223.3 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.7379, allocations: 81.02 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.738, allocations: 4 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.7381, allocations: 7.984 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.7381, allocations: 7.938 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.7381, allocations: 4 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.7382, allocations: 91.27 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7382, allocations: 4 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002952/0.7385, allocations: 43.92 kB / 1.029 GB, free: 9.664 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.0003385/0.7389, allocations: 163.5 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.7391, allocations: 75.91 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7391, allocations: 4 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.7392, allocations: 39.95 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.7395, allocations: 8 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.7399, allocations: 219.7 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.7402, allocations: 0.6887 MB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.7402, allocations: 4 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.7403, allocations: 11.44 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7403, allocations: 0 / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.004108/0.7444, allocations: 1.365 MB / 1.031 GB, free: 7.059 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0