Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.0008203, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001197/0.001197, allocations: 168.7 kB / 15.95 MB, free: 204 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.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437.7 MB / 0.7117 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003913, allocations: 8 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8083/0.8087, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001891/0.8106, allocations: 1.188 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.8119, allocations: 0.6745 MB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.812, allocations: 3.938 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.812, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.8121, allocations: 11.91 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.8127, allocations: 95.78 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.8128, allocations: 71.77 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.8129, allocations: 7.984 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.813, allocations: 31.86 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.8131, allocations: 31.89 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.8131, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.8133, allocations: 91.84 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.8134, allocations: 7.984 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.8134, allocations: 41.64 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.8136, allocations: 105.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.8136, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8137, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8137, allocations: 0 / 1.025 GB, free: 13.7 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.0006855/0.8144, allocations: 408.8 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.8144, allocations: 8.562 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.8145, allocations: 11.91 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.8146, allocations: 167 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.8147, allocations: 7.984 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.8147, allocations: 7.953 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.8149, allocations: 69.59 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.8149, allocations: 4 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.8149, allocations: 7.984 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.8149, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.8151, allocations: 43.97 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.8157, allocations: 320.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.8159, allocations: 58.5 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.816, allocations: 32.97 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.816, allocations: 7.938 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.8162, allocations: 79.38 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.256e-06/0.8162, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004139/0.8166, allocations: 149.5 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.8167, allocations: 63.41 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.8168, allocations: 113.8 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.8168, allocations: 37.7 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.8169, allocations: 88.31 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.8169, allocations: 15.81 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.8169, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8171, allocations: 326.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.8172, allocations: 23.98 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.8173, allocations: 54.56 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.272e-05/0.8174, allocations: 31.98 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8174, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002265/0.8176, allocations: 121.5 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.8176, allocations: 9.875 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8177, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.8177, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.8178, allocations: 15.92 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8178, allocations: 4.391 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.8179, allocations: 15.84 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.8179, allocations: 7.984 kB / 1.027 GB, free: 11.2 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 9.831e-05/0.818, allocations: 125.7 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.818, allocations: 4 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.818, allocations: 8.375 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.818, allocations: 4 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8181, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.8181, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.8185, allocations: 398.3 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8185, allocations: 3.938 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.8186, allocations: 7.984 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8186, allocations: 4 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.8186, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8186, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8186, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.8189, allocations: 231.3 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.8189, allocations: 77.11 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.819, allocations: 4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.8191, allocations: 7.984 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.8191, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.8191, allocations: 4 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.8192, allocations: 99.86 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8192, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003184/0.8195, allocations: 43.92 kB / 1.028 GB, free: 10.1 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.0003523/0.8199, allocations: 157.1 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.8201, allocations: 83.89 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8201, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.8203, allocations: 39.97 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.8205, allocations: 7.953 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.8209, allocations: 219 kB / 1.028 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.8212, allocations: 0.6887 MB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.8213, allocations: 192 / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.8213, allocations: 19.44 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8213, allocations: 0 / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of Templates: time 0.004213/0.8255, allocations: 1.345 MB / 1.03 GB, free: 7.5 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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