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.00171/0.00171, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002065/0.002065, allocations: 193.5 kB / 22.17 MB, free: 5.656 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.533/1.533, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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.971/2.971, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 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.001971/0.001971, allocations: 72.06 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9985/1, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003465/1.004, allocations: 1.498 MB / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001514/1.005, allocations: 0.7417 MB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/1.006, allocations: 0 / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/1.006, allocations: 3.938 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/1.006, allocations: 11.86 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/1.006, allocations: 123.6 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/1.006, allocations: 79.7 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/1.006, allocations: 15.94 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/1.007, allocations: 39.91 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/1.007, allocations: 39.83 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/1.007, allocations: 8 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/1.007, allocations: 99.83 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/1.007, allocations: 15.97 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/1.007, allocations: 35.8 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/1.007, allocations: 150.2 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.007, allocations: 0 / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.504e-06/1.007, allocations: 0 / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.007, allocations: 0 / 1.277 GB, free: 1.695 MB / 0.9669 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.0008266/1.008, allocations: 416.8 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.008, allocations: 12.03 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/1.008, allocations: 4.891 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.008, allocations: 180.2 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/1.008, allocations: 8.375 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/1.008, allocations: 4.375 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/1.009, allocations: 69.97 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.009, allocations: 4 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.009, allocations: 0 / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.009, allocations: 3.984 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/1.009, allocations: 43.91 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/1.009, allocations: 312.7 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/1.01, allocations: 50.55 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/1.01, allocations: 32.97 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/1.01, allocations: 0 / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/1.01, allocations: 71.38 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.01, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004303/1.01, allocations: 149.5 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/1.01, allocations: 55.41 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/1.011, allocations: 129.7 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/1.011, allocations: 33.7 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/1.011, allocations: 84.14 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/1.011, allocations: 19.97 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/1.011, allocations: 29.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.011, allocations: 322.8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/1.011, allocations: 27.98 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/1.011, allocations: 54.92 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/1.011, allocations: 70.5 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.011, allocations: 0 / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002504/1.012, allocations: 117.5 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.012, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.012, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.012, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/1.012, allocations: 19.92 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/1.012, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/1.012, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/1.012, allocations: 11.98 kB / 1.279 GB, free: 15.14 MB / 0.9825 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 0.0001115/1.012, allocations: 125.8 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/1.012, allocations: 7.953 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/1.012, allocations: 8.375 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.012, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.012, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/1.012, allocations: 7.938 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/1.012, allocations: 386.8 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.012, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/1.012, allocations: 7.984 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.012, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.013, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.013, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.013, allocations: 4.016 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/1.013, allocations: 215.4 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/1.013, allocations: 85.06 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/1.013, allocations: 7.938 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/1.013, allocations: 3.984 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/1.013, allocations: 11.94 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/1.013, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.834e-05/1.013, allocations: 91.27 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.013, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003088/1.013, allocations: 39.92 kB / 1.28 GB, free: 14.05 MB / 0.9825 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.0003967/1.014, allocations: 158 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000263/1.014, allocations: 71.89 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.014, allocations: 0 / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/1.014, allocations: 35.97 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/1.014, allocations: 4.125 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/1.015, allocations: 208.6 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/1.015, allocations: 0.6846 MB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.572e-05/1.015, allocations: 3.984 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/1.015, allocations: 11.44 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/1.015, allocations: 7.938 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of Templates: time 0.005002/1.02, allocations: 1.47 MB / 1.283 GB, free: 11.36 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.482113025616854]