Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001268/0.001268, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001532/0.001532, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.589/2.589, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.00033, allocations: 8 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6079, allocations: 153.7 MB / 1.021 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001532/0.6094, allocations: 1.188 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.6105, allocations: 0.6706 MB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.6106, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.6106, allocations: 3.938 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.6106, allocations: 11.98 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.6111, allocations: 95.69 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.877e-05/0.6112, allocations: 43.89 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.6113, allocations: 15.97 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.6114, allocations: 27.92 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.6114, allocations: 31.89 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.6115, allocations: 4 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.6116, allocations: 63.88 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.6116, allocations: 15.97 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.6117, allocations: 41.64 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.6118, allocations: 101.9 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.6119, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6119, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.6119, allocations: 3.938 kB / 1.023 GB, free: 14.94 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.0005513/0.6124, allocations: 408.8 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6125, allocations: 15.98 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.6125, allocations: 11.91 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.6127, allocations: 167 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6127, allocations: 4 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.6127, allocations: 11.95 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.6129, allocations: 69.59 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.6129, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6129, allocations: 3.984 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.6129, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.6131, allocations: 43.97 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.6137, allocations: 320.6 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.6138, allocations: 58.5 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.6139, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.6141, allocations: 91.55 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.6141, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004224/0.6145, allocations: 149.5 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.6146, allocations: 59.34 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.6147, allocations: 121.8 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.6147, allocations: 25.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.6148, allocations: 96.31 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.6149, allocations: 11.81 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.6149, allocations: 8 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.615, allocations: 314.8 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.243e-05/0.6151, allocations: 27.98 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.6153, allocations: 50.55 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.6154, allocations: 39.94 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6154, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002467/0.6156, allocations: 117.5 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6157, allocations: 8 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6157, allocations: 4.062 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6157, allocations: 0 / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.6158, allocations: 19.92 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6158, allocations: 0 / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.6159, allocations: 15.84 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.6159, allocations: 11.98 kB / 1.025 GB, free: 12.46 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.6161, allocations: 122.6 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.6161, allocations: 8 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.6161, allocations: 12.38 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.6161, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6161, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6161, allocations: 3.938 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.6166, allocations: 386.3 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6167, allocations: 8 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.6167, allocations: 7.984 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6167, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.6167, allocations: 4 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.6167, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6168, allocations: 3.938 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.6171, allocations: 219.4 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.6172, allocations: 85.02 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.6172, allocations: 0 / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.6173, allocations: 11.98 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.6173, allocations: 4 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6174, allocations: 0 / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.6174, allocations: 95.86 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6174, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003394/0.6178, allocations: 47.98 kB / 1.026 GB, free: 11.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004148/0.6182, allocations: 155.4 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.6185, allocations: 79.91 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6185, allocations: 0 / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.6186, allocations: 39.97 kB / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.6188, allocations: 20.5 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.6193, allocations: 211.1 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.6196, allocations: 0.6926 MB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.86e-05/0.6196, allocations: 8.172 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.6197, allocations: 7.438 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6197, allocations: 0 / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.003843/0.6235, allocations: 1.337 MB / 1.029 GB, free: 8.785 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","../files/Buildings_latest_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