Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.001427/0.001427, 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.001497/0.001497, allocations: 161.7 kB / 23.54 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.757/2.757, allocations: 359 MB / 0.6048 GB, free: 10.93 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.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.008e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003232/0.003262, allocations: 1.508 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.005091, allocations: 0.7668 MB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.00516, allocations: 4 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.005199, allocations: 3.938 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.005266, allocations: 8.5 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.006019, allocations: 152.2 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.006176, allocations: 75.77 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.006272, allocations: 17.27 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.006463, allocations: 47.95 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.006539, allocations: 31.89 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.006567, allocations: 9.406 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.006891, allocations: 135.7 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.006926, allocations: 23.91 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.006978, allocations: 17.05 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.00734, allocations: 175.4 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.007344, allocations: 0 / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007345, allocations: 1.562 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.00735, allocations: 0 / 0.7892 GB, free: 9.879 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.0007488/0.008098, allocations: 347.5 kB / 0.7896 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.008143, allocations: 8.656 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.008527, allocations: 38.53 kB / 0.7896 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.008826, allocations: 133.6 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.008856, allocations: 8.359 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.008872, allocations: 1.062 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.009092, allocations: 70.22 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.009103, allocations: 1.031 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.009119, allocations: 4.125 kB / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.009126, allocations: 5.562 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.009281, allocations: 35.97 kB / 0.7899 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.0101, allocations: 254.2 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.01027, allocations: 46.55 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.01036, allocations: 31.41 kB / 0.7902 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.01039, allocations: 7.938 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.01058, allocations: 71.38 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.01058, allocations: 0 / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004816/0.01106, allocations: 150.3 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.01112, allocations: 55.39 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.01128, allocations: 128.7 kB / 0.7906 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.01131, allocations: 25.7 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.01139, allocations: 92.66 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.01142, allocations: 17.5 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.01148, allocations: 29.7 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.01167, allocations: 318.8 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.01177, allocations: 27.97 kB / 0.7911 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.01188, allocations: 47.03 kB / 0.7911 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.01207, allocations: 79.86 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01207, allocations: 1.156 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003151/0.01239, allocations: 126.8 kB / 0.7913 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01241, allocations: 4 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01241, allocations: 0 / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.01244, allocations: 5.75 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01255, allocations: 19.92 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01255, allocations: 0 / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.01262, allocations: 7.953 kB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01264, allocations: 4 kB / 0.7913 GB, free: 7.539 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 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.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.0001236/0.01276, allocations: 116.3 kB / 0.7914 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.0128, allocations: 19.88 kB / 0.7915 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.01282, allocations: 8.438 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01282, allocations: 0 / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.01283, allocations: 4 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01283, allocations: 0.9062 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.01337, allocations: 329.5 kB / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01337, allocations: 0 / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.01342, allocations: 7.984 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01342, allocations: 0 / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.01344, allocations: 4 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.01344, allocations: 4 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01344, allocations: 0 / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.01382, allocations: 223.3 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.01383, allocations: 8.453 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01385, allocations: 0 / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.01394, allocations: 5.938 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.01401, allocations: 7.984 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01402, allocations: 0 / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.689e-05/0.0141, allocations: 100.6 kB / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0141, allocations: 0 / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003439/0.01445, allocations: 42.14 kB / 0.7922 GB, free: 6.629 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.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.0004949/0.01494, allocations: 168 kB / 0.7923 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.01523, allocations: 76.95 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01523, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01534, allocations: 33.2 kB / 0.7924 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01563, allocations: 13.48 kB / 0.7925 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.01616, allocations: 192.4 kB / 0.7926 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.496e-05/0.01625, allocations: 75.33 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.01629, allocations: 4 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.01634, allocations: 12.5 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01634, allocations: 0 / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.005537/0.02188, allocations: 1.508 MB / 0.7942 GB, free: 4.559 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.863117925007828]