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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 218 kB / 22.26 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 69.72 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.371, allocations: 170 MB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003105/0.3741, allocations: 1.515 MB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3757, allocations: 0.8196 MB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.3758, allocations: 3.938 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.3758, allocations: 7.938 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.3759, allocations: 7.875 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.3765, allocations: 143.6 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3767, allocations: 83.7 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3768, allocations: 8.172 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.3769, allocations: 43.84 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.377, allocations: 35.84 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.377, allocations: 8 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.3774, allocations: 147.8 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.3774, allocations: 19.98 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3775, allocations: 31.8 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.3778, allocations: 159.4 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3778, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3778, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.3778, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 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.0007654/0.3785, allocations: 351.5 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3786, allocations: 12.03 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.3789, allocations: 24.92 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3792, allocations: 138.9 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.3792, allocations: 4.375 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3792, allocations: 4.375 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3794, allocations: 73.72 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3794, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3795, allocations: 4 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3795, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.3796, allocations: 43.91 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3802, allocations: 283.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3803, allocations: 46.5 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.3804, allocations: 36.97 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.3804, allocations: 7.922 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.3806, allocations: 71.38 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.3806, allocations: 7.984 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004258/0.381, allocations: 141.6 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.3811, allocations: 59.34 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3812, allocations: 128.4 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3812, allocations: 29.7 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.3813, allocations: 92.09 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.3813, allocations: 15.84 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.3814, allocations: 33.7 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3815, allocations: 318.8 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.3816, allocations: 27.98 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3817, allocations: 50.55 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3819, allocations: 70.5 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3819, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002431/0.3821, allocations: 117.5 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3821, allocations: 4 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3821, allocations: 4 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3822, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.3822, allocations: 11.98 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3823, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.3823, allocations: 4 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3823, allocations: 11.98 kB / 1.289 GB, free: 5.816 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.0001051/0.3824, allocations: 125.8 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.3825, allocations: 7.953 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.3825, allocations: 12.38 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3825, allocations: 0 / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3825, allocations: 0 / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3825, allocations: 3.938 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.383, allocations: 345.5 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.383, allocations: 0 / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.383, allocations: 11.98 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.383, allocations: 3.938 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.383, allocations: 4 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.383, allocations: 7.938 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.383, allocations: 0 / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.3833, allocations: 211.4 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.3834, allocations: 11.89 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3834, allocations: 7.938 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.3835, allocations: 11.94 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.3835, allocations: 7.984 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3835, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.3836, allocations: 98.89 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3836, allocations: 0 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003014/0.3839, allocations: 39.92 kB / 1.29 GB, free: 4.848 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.0003715/0.3843, allocations: 166.8 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.3845, allocations: 63.95 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3845, allocations: 0 / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3846, allocations: 31.92 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.3849, allocations: 11.98 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3853, allocations: 197.5 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3856, allocations: 0.6905 MB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.3857, allocations: 4 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3857, allocations: 15.38 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3857, allocations: 3.938 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.004839/0.3906, allocations: 1.492 MB / 1.292 GB, free: 2.137 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 -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.continuous,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.509450803976506]