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.001612/0.001612, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00178/0.00178, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.487/1.487, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.886/2.886, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.303e-05, allocations: 3.719 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.004452/0.004485, allocations: 1.506 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.006792, allocations: 0.769 MB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.006863, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.006912, allocations: 8.828 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.007002, allocations: 16.7 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009171/0.007919, allocations: 143.3 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.008116, allocations: 80.27 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.008221, allocations: 13.33 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.008453, allocations: 51.89 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.008556, allocations: 35.88 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.008597, allocations: 8.562 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.009061, allocations: 140.4 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.009098, allocations: 11.98 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.009176, allocations: 24.81 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.009644, allocations: 171.5 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.009647, allocations: 0 / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.009648, allocations: 0.6562 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.009653, allocations: 1.594 kB / 0.7892 GB, free: 9.871 MB / 0.7448 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.0009007/0.01055, allocations: 347.6 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.0106, allocations: 12.02 kB / 0.7896 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.0111, allocations: 36.31 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.01146, allocations: 129.7 kB / 0.7897 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.01149, allocations: 4.375 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.01152, allocations: 4.375 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.0118, allocations: 74.16 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.01182, allocations: 4.125 kB / 0.7898 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.01183, allocations: 4.125 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.01184, allocations: 0.5938 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.01205, allocations: 36.56 kB / 0.7899 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.01289, allocations: 250.1 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.0131, allocations: 50.48 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.01324, allocations: 30.09 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.01327, allocations: 7.938 kB / 0.7902 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.01353, allocations: 76.28 kB / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.01353, allocations: 0 / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006838/0.01421, allocations: 139.5 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.01429, allocations: 59.34 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01449, allocations: 128.7 kB / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.01453, allocations: 26.48 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.01462, allocations: 88.14 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.01467, allocations: 25.06 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.01475, allocations: 25.72 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.015, allocations: 318.8 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.01513, allocations: 25.45 kB / 0.7911 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.01531, allocations: 54.53 kB / 0.7911 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.0156, allocations: 79.64 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0156, allocations: 1.375 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000446/0.01604, allocations: 118.1 kB / 0.7913 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.01606, allocations: 8 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.01607, allocations: 5.922 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.0161, allocations: 0 / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.01624, allocations: 12 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.01626, allocations: 4 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.01637, allocations: 15.88 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01638, allocations: 0.625 kB / 0.7913 GB, free: 7.535 MB / 0.7448 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.0001577/0.01654, allocations: 122.5 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.01659, allocations: 17.11 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.01662, allocations: 8.422 kB / 0.7915 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.01663, allocations: 4 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.01663, allocations: 0.625 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01664, allocations: 0 / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.01738, allocations: 326.7 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.01738, allocations: 5.125 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.01744, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.01745, allocations: 4 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.01748, allocations: 9.016 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01748, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01748, allocations: 0.8438 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.018, allocations: 211.4 kB / 0.792 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.01805, allocations: 18.11 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.01808, allocations: 3.984 kB / 0.792 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.01824, allocations: 4 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.01828, allocations: 3.984 kB / 0.792 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.01829, allocations: 4 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001121/0.01841, allocations: 98.05 kB / 0.7921 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01841, allocations: 3.938 kB / 0.7921 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005478/0.01895, allocations: 39.94 kB / 0.7922 GB, free: 6.621 MB / 0.7448 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.0005673/0.01952, allocations: 160.2 kB / 0.7923 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.01986, allocations: 76.06 kB / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01986, allocations: 0.5 kB / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.02002, allocations: 33.02 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.02046, allocations: 15.94 kB / 0.7925 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.0211, allocations: 186.5 kB / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.02121, allocations: 72.22 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.75e-05/0.02127, allocations: 13.06 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.02132, allocations: 12.5 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.02132, allocations: 0 / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of Templates: time 0.006843/0.02816, allocations: 1.506 MB / 0.7942 GB, free: 4.555 MB / 0.7448 GB " [Timeout remaining time 300] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.794638980994932]