Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001018/0.001018, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0008757/0.0008757, allocations: 172.7 kB / 15.95 MB, free: 192 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.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7802/0.7806, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001723/0.7824, allocations: 1.181 MB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.7837, allocations: 0.6827 MB / 0.9563 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.7838, allocations: 0 / 0.9563 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.7838, allocations: 0 / 0.9563 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.7839, allocations: 10.53 kB / 0.9563 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.7846, allocations: 104.5 kB / 0.9564 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.7848, allocations: 73.28 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.7849, allocations: 9.766 kB / 0.9564 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.785, allocations: 25.08 kB / 0.9565 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.7851, allocations: 40 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.7851, allocations: 2.438 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.7854, allocations: 89.12 kB / 0.9566 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.7854, allocations: 14.3 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.7855, allocations: 35.17 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.7857, allocations: 104.1 kB / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7857, allocations: 0 / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7857, allocations: 0 / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.7857, allocations: 1.031 kB / 0.9567 GB, free: 5.938 MB / 0.7169 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.000559/0.7863, allocations: 406 kB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.7864, allocations: 13.14 kB / 0.9571 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.7864, allocations: 15.42 kB / 0.9572 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.7865, allocations: 162.9 kB / 0.9573 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.7866, allocations: 6.938 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.7866, allocations: 2.812 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.7868, allocations: 71.03 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7868, allocations: 0 / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.7868, allocations: 0 / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7868, allocations: 1.906 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.787, allocations: 53.2 kB / 0.9574 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.7875, allocations: 322.2 kB / 0.9577 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.7877, allocations: 59.22 kB / 0.9578 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.7878, allocations: 34.78 kB / 0.9578 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.7878, allocations: 3.938 kB / 0.9578 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.788, allocations: 84.17 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.788, allocations: 0 / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003873/0.7884, allocations: 148.8 kB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.7884, allocations: 52.91 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.7885, allocations: 128.6 kB / 0.9582 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.7885, allocations: 31.02 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.7886, allocations: 86.58 kB / 0.9583 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.7886, allocations: 22.73 kB / 0.9584 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.7886, allocations: 1.562 kB / 0.9584 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.7887, allocations: 316.2 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.7888, allocations: 28.34 kB / 0.9587 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.7889, allocations: 52.5 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.789, allocations: 35.98 kB / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.789, allocations: 0 / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000244/0.7892, allocations: 117.7 kB / 0.9589 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.7893, allocations: 5.344 kB / 0.9589 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7893, allocations: 5.766 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.7893, allocations: 4 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.7894, allocations: 22.64 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7894, allocations: 4.062 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.7895, allocations: 13.25 kB / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.7895, allocations: 8.375 kB / 0.959 GB, free: 3.852 MB / 0.7169 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 7.47e-05/0.7896, allocations: 113.6 kB / 0.9591 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.7896, allocations: 6.859 kB / 0.9591 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.7897, allocations: 11.03 kB / 0.9591 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.7897, allocations: 3.953 kB / 0.9591 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7897, allocations: 1.344 kB / 0.9591 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7897, allocations: 0 / 0.9591 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.7901, allocations: 391.6 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7901, allocations: 1.375 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.7901, allocations: 4.125 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.7901, allocations: 3.953 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.7901, allocations: 9.297 kB / 0.9595 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7901, allocations: 0 / 0.9595 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7902, allocations: 1.375 kB / 0.9595 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.7904, allocations: 210.5 kB / 0.9597 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.7904, allocations: 94.36 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.7905, allocations: 5.328 kB / 0.9598 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.7906, allocations: 4.125 kB / 0.9598 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.7906, allocations: 10.73 kB / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.7906, allocations: 2.75 kB / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.7907, allocations: 99.61 kB / 0.9599 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7907, allocations: 0 / 0.9599 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003321/0.791, allocations: 40.81 kB / 0.9599 GB, free: 2.941 MB / 0.7169 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.0003344/0.7914, allocations: 158 kB / 0.9601 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.7916, allocations: 78.62 kB / 0.9601 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7916, allocations: 0 / 0.9601 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.7917, allocations: 37.98 kB / 0.9602 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.792, allocations: 9.047 kB / 0.9602 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.7924, allocations: 220 kB / 0.9604 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.7925, allocations: 0.6845 MB / 0.9611 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.202e-05/0.7925, allocations: 11.98 kB / 0.9611 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.7926, allocations: 10.34 kB / 0.9611 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.7926, allocations: 0 / 0.9611 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.003991/0.7966, allocations: 1.35 MB / 0.9624 GB, free: 1.164 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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