Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001266/0.001266, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001301/0.001301, allocations: 157.3 kB / 23.01 MB, free: 4.605 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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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.68/2.68, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 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.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [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.002445/0.002445, allocations: 67.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3444, allocations: 169.9 MB / 1.117 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.008254/0.3526, allocations: 4.231 MB / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.3561, allocations: 2.446 MB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.3562, allocations: 0 / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.3566, allocations: 51.62 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.357, allocations: 99.36 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3586, allocations: 0.514 MB / 1.125 GB, free: 11.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.3591, allocations: 231.9 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.3592, allocations: 17.75 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.3606, allocations: 495.4 kB / 1.125 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3608, allocations: 87.66 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.3609, allocations: 4 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.3622, allocations: 487.1 kB / 1.126 GB, free: 9.828 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.3622, allocations: 27.91 kB / 1.126 GB, free: 9.801 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.3624, allocations: 79.7 kB / 1.126 GB, free: 9.723 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.3634, allocations: 346.8 kB / 1.126 GB, free: 9.383 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3634, allocations: 0 / 1.126 GB, free: 9.383 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3634, allocations: 0 / 1.126 GB, free: 9.383 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3634, allocations: 3.938 kB / 1.126 GB, free: 9.379 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001047/0.3644, allocations: 445.4 kB / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3645, allocations: 8.031 kB / 1.127 GB, free: 8.902 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.3647, allocations: 20.84 kB / 1.127 GB, free: 8.883 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.365, allocations: 158.2 kB / 1.127 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3651, allocations: 16.7 kB / 1.127 GB, free: 8.688 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.3651, allocations: 20.38 kB / 1.127 GB, free: 8.668 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.3657, allocations: 462.6 kB / 1.127 GB, free: 8.145 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3657, allocations: 0 / 1.127 GB, free: 8.145 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.3658, allocations: 12 kB / 1.127 GB, free: 8.133 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.3658, allocations: 4 kB / 1.127 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.3664, allocations: 423.4 kB / 1.128 GB, free: 7.715 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3676, allocations: 0.829 MB / 1.129 GB, free: 6.836 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.3679, allocations: 148.4 kB / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.368, allocations: 56.88 kB / 1.129 GB, free: 6.625 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007835/0.3688, allocations: 455.8 kB / 1.129 GB, free: 6.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3689, allocations: 38.5 kB / 1.129 GB, free: 6.113 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3689, allocations: 4 kB / 1.129 GB, free: 6.109 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003411/0.3692, allocations: 133.6 kB / 1.129 GB, free: 5.973 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3692, allocations: 55.39 kB / 1.129 GB, free: 5.906 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3694, allocations: 164.8 kB / 1.13 GB, free: 5.734 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3694, allocations: 37.7 kB / 1.13 GB, free: 5.691 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3695, allocations: 144 kB / 1.13 GB, free: 5.547 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.3696, allocations: 51.59 kB / 1.13 GB, free: 5.496 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.3697, allocations: 53.69 kB / 1.13 GB, free: 5.438 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3698, allocations: 322.8 kB / 1.13 GB, free: 5.113 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.3699, allocations: 31.98 kB / 1.13 GB, free: 5.082 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.3701, allocations: 153 kB / 1.13 GB, free: 4.887 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3703, allocations: 197.5 kB / 1.131 GB, free: 4.645 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3703, allocations: 7.938 kB / 1.131 GB, free: 4.637 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003523/0.3707, allocations: 221.1 kB / 1.131 GB, free: 4.414 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3707, allocations: 8 kB / 1.131 GB, free: 4.406 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3707, allocations: 4 kB / 1.131 GB, free: 4.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3707, allocations: 4.469 kB / 1.131 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3709, allocations: 59.91 kB / 1.131 GB, free: 4.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.3709, allocations: 7.938 kB / 1.131 GB, free: 4.332 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3711, allocations: 27.84 kB / 1.131 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3711, allocations: 16 kB / 1.131 GB, free: 4.289 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001381/0.3712, allocations: 137.6 kB / 1.131 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.3713, allocations: 15.91 kB / 1.131 GB, free: 4.129 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.3716, allocations: 161.2 kB / 1.131 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3716, allocations: 0 / 1.131 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3716, allocations: 3.938 kB / 1.131 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3716, allocations: 0 / 1.131 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.3718, allocations: 157.2 kB / 1.131 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3718, allocations: 0 / 1.131 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.372, allocations: 35.92 kB / 1.131 GB, free: 3.746 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.372, allocations: 0 / 1.131 GB, free: 3.746 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.372, allocations: 3.984 kB / 1.131 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.372, allocations: 4 kB / 1.131 GB, free: 3.738 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.372, allocations: 0 / 1.131 GB, free: 3.738 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3723, allocations: 215.4 kB / 1.132 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.3723, allocations: 27.88 kB / 1.132 GB, free: 3.484 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3723, allocations: 8 kB / 1.132 GB, free: 3.477 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3725, allocations: 15.98 kB / 1.132 GB, free: 3.461 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.3726, allocations: 15.97 kB / 1.132 GB, free: 3.445 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3726, allocations: 11.94 kB / 1.132 GB, free: 3.434 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.088e-05/0.3727, allocations: 118 kB / 1.132 GB, free: 3.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 1.132 GB, free: 3.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000398/0.3731, allocations: 75.81 kB / 1.132 GB, free: 3.246 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003366/0.3734, allocations: 191 kB / 1.132 GB, free: 3.051 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3737, allocations: 115.7 kB / 1.132 GB, free: 2.938 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3737, allocations: 0 / 1.132 GB, free: 2.938 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.3737, allocations: 39.97 kB / 1.132 GB, free: 2.898 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3741, allocations: 39.52 kB / 1.132 GB, free: 2.863 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.3748, allocations: 347.1 kB / 1.133 GB, free: 2.504 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.375, allocations: 102.9 kB / 1.133 GB, free: 2.383 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.3751, allocations: 53.19 kB / 1.133 GB, free: 2.324 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.3751, allocations: 24.5 kB / 1.133 GB, free: 2.301 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.3751, allocations: 4 kB / 1.133 GB, free: 2.297 MB / 1.076 GB Notification: Performance of Templates: time 0.602/0.9772, allocations: 3.009 MB / 1.136 GB, free: 58.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.829277883982286]