Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.001979/0.001979, allocations: 113 kB / 17.6 MB, free: 4.684 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.002449/0.002449, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.258 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.779/2.779, allocations: 476.7 MB / 0.7629 GB, free: 15.17 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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003148/1.062, allocations: 1.504 MB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001357/1.063, allocations: 0.742 MB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/1.063, allocations: 1 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/1.063, allocations: 6.891 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/1.064, allocations: 8.969 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/1.064, allocations: 122.3 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/1.064, allocations: 77.89 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/1.064, allocations: 16.11 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/1.064, allocations: 35.73 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/1.064, allocations: 40.88 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/1.064, allocations: 6.281 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/1.065, allocations: 103 kB / 1.275 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/1.065, allocations: 16.77 kB / 1.275 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/1.065, allocations: 36.3 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/1.065, allocations: 148.7 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.065, allocations: 0.8125 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.065, allocations: 0 / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.065, allocations: 4 kB / 1.275 GB, free: 6.109 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.0005658/1.066, allocations: 423.4 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.066, allocations: 9.75 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/1.066, allocations: 8.547 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/1.066, allocations: 169.2 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/1.066, allocations: 2.844 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/1.066, allocations: 8.438 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/1.066, allocations: 72.28 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.066, allocations: 0.75 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.066, allocations: 0.75 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.066, allocations: 1.438 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/1.066, allocations: 39.38 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/1.067, allocations: 322.3 kB / 1.276 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/1.067, allocations: 48.11 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/1.067, allocations: 31.11 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/1.067, allocations: 1.031 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/1.067, allocations: 86.5 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/1.067, allocations: 0 / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003786/1.067, allocations: 136 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/1.067, allocations: 54.19 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/1.068, allocations: 123.9 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/1.068, allocations: 30.64 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/1.068, allocations: 88.14 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/1.068, allocations: 19.86 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/1.068, allocations: 25.72 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/1.068, allocations: 327.5 kB / 1.277 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/1.068, allocations: 27.05 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/1.068, allocations: 56.5 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.068, allocations: 70.2 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.068, allocations: 1.281 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002169/1.068, allocations: 112.2 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.068, allocations: 6.719 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.068, allocations: 0.9062 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.068, allocations: 6.703 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/1.068, allocations: 14.55 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.068, allocations: 1.797 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/1.068, allocations: 15.62 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/1.068, allocations: 10.25 kB / 1.277 GB, free: 4.117 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 9.796e-05/1.069, allocations: 122.8 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/1.069, allocations: 7.797 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/1.069, allocations: 7.672 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.069, allocations: 1 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.069, allocations: 0.6875 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.069, allocations: 0 / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/1.069, allocations: 396.7 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.069, allocations: 0 / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/1.069, allocations: 4.547 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.069, allocations: 0.9062 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.069, allocations: 2.766 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.069, allocations: 1 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.069, allocations: 3.938 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/1.069, allocations: 215.4 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/1.069, allocations: 79.39 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/1.069, allocations: 3.906 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/1.069, allocations: 2.562 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/1.069, allocations: 8.562 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/1.069, allocations: 7.297 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.669e-05/1.07, allocations: 92.86 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.07, allocations: 0 / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003173/1.07, allocations: 41.66 kB / 1.278 GB, free: 3.266 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.0003405/1.07, allocations: 165.4 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002327/1.07, allocations: 75.67 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/1.07, allocations: 128 / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.343e-05/1.07, allocations: 34.69 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.071, allocations: 6.328 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/1.071, allocations: 202.8 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/1.071, allocations: 0.689 MB / 1.279 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.784e-05/1.071, allocations: 14.06 kB / 1.279 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/1.071, allocations: 11.5 kB / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.071, allocations: 0 / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.004918/1.076, allocations: 1.466 MB / 1.281 GB, free: 2.098 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.610405303537846]