Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001984/0.001984, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002012/0.002012, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.289 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.967/2.967, allocations: 359 MB / 0.6048 GB, free: 10.96 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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.602e-06, allocations: 4 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.929e-05, allocations: 4.703 kB / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.004759/0.004798, allocations: 1.516 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.007755, allocations: 0.7746 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.007823, allocations: 4 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.007872, allocations: 7.922 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.007982, allocations: 15.8 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.009016, allocations: 148.6 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.009235, allocations: 79.72 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.009342, allocations: 8.797 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.009571, allocations: 57.23 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.009689, allocations: 31.94 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.009723, allocations: 8 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.0102, allocations: 135.7 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.01025, allocations: 20.77 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.01033, allocations: 23.91 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.01084, allocations: 176 kB / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01085, allocations: 0 / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/0.01085, allocations: 0.6875 kB / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.01086, allocations: 0 / 0.7893 GB, free: 9.836 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.0011/0.01196, allocations: 450.5 kB / 0.7897 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.01201, allocations: 12.69 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.01254, allocations: 30.53 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.01285, allocations: 132.5 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.01289, allocations: 8.375 kB / 0.7899 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.01292, allocations: 5.969 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.01321, allocations: 66.16 kB / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.01322, allocations: 192 / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.01324, allocations: 4.125 kB / 0.7899 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01325, allocations: 9 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.01344, allocations: 31.98 kB / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009544/0.01439, allocations: 310.9 kB / 0.7903 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.01464, allocations: 55.03 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.0148, allocations: 31.75 kB / 0.7904 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.01484, allocations: 11.92 kB / 0.7904 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.01511, allocations: 73.05 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.01511, allocations: 4.719 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007528/0.01587, allocations: 134.4 kB / 0.7906 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.01595, allocations: 59.34 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.01621, allocations: 196.8 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.01626, allocations: 29.7 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.01639, allocations: 134.9 kB / 0.791 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.01643, allocations: 28.45 kB / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.01653, allocations: 35.89 kB / 0.791 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003974/0.01692, allocations: 0.4937 MB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.01705, allocations: 23.98 kB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.01726, allocations: 59.03 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.01758, allocations: 84.2 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.01758, allocations: 0.9375 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004674/0.01805, allocations: 115.1 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.01808, allocations: 13.55 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.01808, allocations: 0 / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.0181, allocations: 0 / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01827, allocations: 13.34 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01828, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.01839, allocations: 11.94 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.01842, allocations: 8 kB / 0.7918 GB, free: 6.988 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.0001982/0.01862, allocations: 168 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.01867, allocations: 11.89 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.01872, allocations: 16.42 kB / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01872, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01872, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01873, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008473/0.01958, allocations: 381.3 kB / 0.7924 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01958, allocations: 0.6562 kB / 0.7924 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.01964, allocations: 15.86 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01964, allocations: 0.5 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.01966, allocations: 4.547 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01967, allocations: 0.5625 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01967, allocations: 0 / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.02053, allocations: 269.2 kB / 0.7927 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.02055, allocations: 11.94 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.02058, allocations: 0 / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.02073, allocations: 8.531 kB / 0.7927 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.02079, allocations: 9.641 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.02081, allocations: 0 / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001538/0.02096, allocations: 146.4 kB / 0.7928 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.02096, allocations: 0 / 0.7928 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005329/0.02149, allocations: 39.92 kB / 0.7929 GB, free: 5.871 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.0006848/0.02218, allocations: 164.7 kB / 0.793 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004279/0.02261, allocations: 80.81 kB / 0.7931 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.02261, allocations: 5.281 kB / 0.7931 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.0228, allocations: 39.81 kB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.02325, allocations: 16.48 kB / 0.7932 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.02394, allocations: 196.7 kB / 0.7933 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.02405, allocations: 69.66 kB / 0.7934 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.733e-05/0.02411, allocations: 11.92 kB / 0.7934 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.02417, allocations: 12.5 kB / 0.7934 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.02417, allocations: 1.031 kB / 0.7934 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of Templates: time 0.008619/0.03278, allocations: 1.514 MB / 0.7949 GB, free: 3.77 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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: 8.054132217075676]