Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Nicol2001WindowsEU,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.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_9_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.009145/0.009145, allocations: 98.08 kB / 15.73 MB, free: 6.055 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.0027/0.002701, allocations: 199.4 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 69.48 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002743/0.3239, allocations: 1.481 MB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3253, allocations: 0.7337 MB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.3253, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.3254, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.3255, allocations: 11.88 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.3261, allocations: 119.6 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3262, allocations: 79.75 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3263, allocations: 15.98 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.3264, allocations: 35.91 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.3265, allocations: 43.83 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3265, allocations: 8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.3267, allocations: 91.84 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.3268, allocations: 19.92 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.3268, allocations: 31.86 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3271, allocations: 143.5 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3271, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3271, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3271, allocations: 7.938 kB / 1.091 GB, free: 14.71 MB / 0.8575 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.0006816/0.3278, allocations: 420.7 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3279, allocations: 8.031 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.3279, allocations: 8.891 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.328, allocations: 176.3 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.3281, allocations: 4.375 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3281, allocations: 8.312 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3283, allocations: 73.97 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3283, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3283, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3283, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3285, allocations: 43.91 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.3291, allocations: 316.7 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3292, allocations: 50.56 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.3293, allocations: 32.97 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3294, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.3295, allocations: 79.31 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3296, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000405/0.33, allocations: 145.6 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.33, allocations: 55.34 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3301, allocations: 117.8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3301, allocations: 29.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.3302, allocations: 92.12 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3302, allocations: 19.91 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.3303, allocations: 25.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3304, allocations: 330.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.3305, allocations: 27.98 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.3306, allocations: 46.5 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3308, allocations: 74.55 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3308, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002367/0.331, allocations: 113.5 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.331, allocations: 9.5 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3311, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3311, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.3312, allocations: 15.92 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3312, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.3313, allocations: 16.02 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3313, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 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.0001059/0.3314, allocations: 128.4 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.3314, allocations: 7.953 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.3315, allocations: 4.375 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3315, allocations: 7.984 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3315, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3315, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.3319, allocations: 386.8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.332, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.332, allocations: 7.984 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.332, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.332, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.332, allocations: 4.078 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.332, allocations: 7.922 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3323, allocations: 215.4 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.3324, allocations: 89 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3324, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.3325, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3326, allocations: 7.922 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3326, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.3326, allocations: 99.86 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3326, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002915/0.3329, allocations: 39.92 kB / 1.094 GB, free: 11.07 MB / 0.8575 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.0003326/0.3333, allocations: 156.2 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.3335, allocations: 75.89 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3335, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/0.3336, allocations: 36.11 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.3339, allocations: 11.98 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.3343, allocations: 180.8 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3346, allocations: 0.6885 MB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.3346, allocations: 15.73 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.3347, allocations: 11.44 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3347, allocations: 0 / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of Templates: time 0.004312/0.339, allocations: 1.463 MB / 1.096 GB, free: 8.391 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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