Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.83 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003714/1.094, allocations: 1.492 MB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001599/1.096, allocations: 0.7542 MB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/1.096, allocations: 4.75 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/1.096, allocations: 3.938 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/1.096, allocations: 15.72 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/1.096, allocations: 121.4 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/1.097, allocations: 68.73 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/1.097, allocations: 9.844 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/1.097, allocations: 44.17 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/1.097, allocations: 36.59 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/1.097, allocations: 6.25 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/1.097, allocations: 100.9 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/1.097, allocations: 18.36 kB / 1.275 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/1.097, allocations: 36.41 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/1.098, allocations: 145.6 kB / 1.275 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.098, allocations: 4.906 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.505e-06/1.098, allocations: 0 / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.844e-06/1.098, allocations: 0 / 1.275 GB, free: 6.133 MB / 0.9981 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.0006965/1.098, allocations: 417.7 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.098, allocations: 9 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/1.099, allocations: 11.27 kB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/1.099, allocations: 171.5 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/1.099, allocations: 12.23 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/1.099, allocations: 8.031 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/1.099, allocations: 76.39 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.099, allocations: 4.562 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/1.099, allocations: 0.6562 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.099, allocations: 0.75 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/1.099, allocations: 37.17 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/1.1, allocations: 318.2 kB / 1.276 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.1, allocations: 43.8 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/1.1, allocations: 26.23 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/1.1, allocations: 4.688 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/1.1, allocations: 85.45 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/1.1, allocations: 0 / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004252/1.101, allocations: 134.3 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.101, allocations: 62.03 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/1.101, allocations: 123.7 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/1.101, allocations: 26.52 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/1.101, allocations: 92.03 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/1.101, allocations: 15.23 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/1.101, allocations: 34.42 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/1.101, allocations: 322.7 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/1.101, allocations: 23.11 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/1.101, allocations: 46.66 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/1.101, allocations: 76.59 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.101, allocations: 8.781 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/1.101, allocations: 120.6 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.101, allocations: 6.594 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.101, allocations: 1 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.101, allocations: 1.156 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/1.102, allocations: 10.72 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.102, allocations: 5.953 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/1.102, allocations: 13.42 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.102, allocations: 3.031 kB / 1.277 GB, free: 4.137 MB / 0.9981 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 6.752e-05/1.102, allocations: 122.2 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/1.102, allocations: 6.953 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/1.102, allocations: 14.25 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.102, allocations: 1.094 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.102, allocations: 0 / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.102, allocations: 5.094 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/1.102, allocations: 375 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.102, allocations: 0 / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/1.102, allocations: 6.547 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.102, allocations: 0.6562 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.102, allocations: 5.062 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.102, allocations: 0.8438 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.102, allocations: 9 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/1.102, allocations: 213.1 kB / 1.278 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/1.102, allocations: 78.67 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/1.103, allocations: 1.875 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/1.103, allocations: 9.234 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/1.103, allocations: 6.562 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.103, allocations: 3.5 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.821e-05/1.103, allocations: 101.2 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.103, allocations: 0 / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003189/1.103, allocations: 42.48 kB / 1.278 GB, free: 3.285 MB / 0.9981 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.0003468/1.103, allocations: 172.7 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002602/1.104, allocations: 69.45 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.104, allocations: 1.125 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/1.104, allocations: 34.67 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/1.104, allocations: 11.61 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/1.104, allocations: 199.3 kB / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/1.104, allocations: 0.6907 MB / 1.279 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.602e-05/1.104, allocations: 4.703 kB / 1.279 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/1.105, allocations: 12.7 kB / 1.279 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.105, allocations: 0 / 1.279 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of Templates: time 0.004726/1.109, allocations: 1.48 MB / 1.281 GB, free: 2.113 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 9.52481772750616]