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.001686/0.001686, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002105/0.002105, allocations: 209.8 kB / 23.01 MB, free: 4.566 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.76/2.76, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] 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.002054/0.002054, allocations: 63.72 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002704/0.3011, allocations: 1.513 MB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3026, allocations: 0.8274 MB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.3026, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.3026, allocations: 7.938 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.3027, allocations: 7.875 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.3033, allocations: 147.5 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3034, allocations: 79.72 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.3035, allocations: 16.11 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3036, allocations: 39.91 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.3037, allocations: 43.81 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3037, allocations: 8 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.304, allocations: 143.8 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.304, allocations: 15.98 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.3041, allocations: 39.78 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.3044, allocations: 143.5 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3044, allocations: 0 / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3044, allocations: 0 / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3044, allocations: 3.938 kB / 1.288 GB, free: 8.191 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.0006211/0.305, allocations: 355.5 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.305, allocations: 8.031 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.3054, allocations: 28.91 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3056, allocations: 138.4 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3056, allocations: 4.375 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3056, allocations: 8.375 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3058, allocations: 73.77 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3058, allocations: 0 / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3059, allocations: 0 / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3059, allocations: 4 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.306, allocations: 39.91 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.3066, allocations: 279.9 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3067, allocations: 54.48 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.3068, allocations: 32.91 kB / 1.289 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3068, allocations: 4 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.307, allocations: 79.31 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.307, allocations: 0 / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004057/0.3074, allocations: 141.7 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.3075, allocations: 51.41 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3076, allocations: 130.1 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3076, allocations: 25.7 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.3077, allocations: 92.09 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3077, allocations: 19.83 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.3077, allocations: 25.72 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3079, allocations: 330.8 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.308, allocations: 19.98 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3081, allocations: 58.42 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3083, allocations: 70.88 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3083, allocations: 0 / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002584/0.3085, allocations: 121.5 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3085, allocations: 4 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3086, allocations: 0 / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3086, allocations: 4 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3087, allocations: 19.92 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3087, allocations: 0 / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.3088, allocations: 11.98 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3088, allocations: 8.062 kB / 1.29 GB, free: 5.781 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.0001009/0.3089, allocations: 121.4 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.3089, allocations: 7.953 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.3089, allocations: 8.375 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3089, allocations: 7.938 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3089, allocations: 3.984 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3089, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.3094, allocations: 353.5 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3094, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.3095, allocations: 4 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3095, allocations: 0 / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3095, allocations: 0 / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.3095, allocations: 7.938 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3095, allocations: 0 / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.3098, allocations: 215.4 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3098, allocations: 11.89 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3098, allocations: 4 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.3099, allocations: 11.92 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3099, allocations: 0 / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.31, allocations: 11.92 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.617e-05/0.31, allocations: 91.27 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.31, allocations: 4 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003072/0.3103, allocations: 35.94 kB / 1.291 GB, free: 4.824 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.0003729/0.3107, allocations: 164.8 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.3109, allocations: 71.89 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3109, allocations: 0 / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/0.311, allocations: 28.11 kB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.3113, allocations: 10.97 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.3117, allocations: 227.5 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3121, allocations: 0.6923 MB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.3121, allocations: 15.44 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3121, allocations: 4 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.003869/0.316, allocations: 1.644 MB / 1.293 GB, free: 1.93 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/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.509507514012512]