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.001976/0.001976, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002042/0.002042, 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.532/1.532, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.948/2.948, allocations: 359 MB / 0.6048 GB, free: 10.94 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.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.039e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007478/0.007509, allocations: 4.524 MB / 0.7908 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.01147, allocations: 2.801 MB / 0.7935 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.01155, allocations: 0 / 0.7935 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.01185, allocations: 43.69 kB / 0.7936 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.01216, allocations: 100.2 kB / 0.7937 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.01349, allocations: 0.5262 MB / 0.7942 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.0138, allocations: 242 kB / 0.7944 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.01385, allocations: 13.8 kB / 0.7944 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.01517, allocations: 0.5148 MB / 0.7949 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.01532, allocations: 76.89 kB / 0.795 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.01535, allocations: 8 kB / 0.795 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.01678, allocations: 0.4893 MB / 0.7955 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.01687, allocations: 35.89 kB / 0.7955 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.01696, allocations: 63.78 kB / 0.7956 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.01767, allocations: 362.9 kB / 0.7959 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01767, allocations: 0 / 0.7959 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01767, allocations: 0 / 0.7959 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.01768, allocations: 4 kB / 0.7959 GB, free: 3.016 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009326/0.01861, allocations: 0.5345 MB / 0.7965 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.01865, allocations: 8.031 kB / 0.7965 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.01887, allocations: 56.64 kB / 0.7965 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.01914, allocations: 152.4 kB / 0.7967 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.01916, allocations: 12.7 kB / 0.7967 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.01919, allocations: 16.38 kB / 0.7967 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.01974, allocations: 428.1 kB / 0.7971 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01976, allocations: 8.125 kB / 0.7971 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.01979, allocations: 12.12 kB / 0.7971 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.01983, allocations: 8 kB / 0.7971 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.02036, allocations: 335.5 kB / 0.7975 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.02179, allocations: 1.092 MB / 0.7985 GB, free: 176 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.02219, allocations: 163.9 kB / 0.7987 GB, free: 0 / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.02233, allocations: 55.7 kB / 0.7987 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009254/0.02325, allocations: 0.5349 MB / 0.7993 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.02329, allocations: 33.39 kB / 0.7993 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.02329, allocations: 0 / 0.7993 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0003981/0.02369, allocations: 148.5 kB / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.02373, allocations: 55.34 kB / 0.7995 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.02396, allocations: 229.8 kB / 0.7997 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.02399, allocations: 33.7 kB / 0.7997 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.02414, allocations: 194.8 kB / 0.7999 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.0242, allocations: 59.48 kB / 0.8 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.02429, allocations: 55.36 kB / 0.8 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00028/0.02457, allocations: 0.4961 MB / 0.8005 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.02465, allocations: 35.98 kB / 0.8006 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.02489, allocations: 187 kB / 0.8007 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.02522, allocations: 234.7 kB / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.02522, allocations: 0 / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000403/0.02563, allocations: 229.3 kB / 0.8012 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.02565, allocations: 8 kB / 0.8012 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.02566, allocations: 4 kB / 0.8012 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.02568, allocations: 4 kB / 0.8012 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.0259, allocations: 59.84 kB / 0.8012 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.02592, allocations: 8 kB / 0.8013 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.02603, allocations: 27.78 kB / 0.8013 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.02605, allocations: 12 kB / 0.8013 GB, free: 13.09 MB / 0.7605 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.0001613/0.02621, allocations: 180.8 kB / 0.8015 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.02627, allocations: 19.91 kB / 0.8015 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.02663, allocations: 152.4 kB / 0.8016 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.02665, allocations: 7.984 kB / 0.8016 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.02665, allocations: 3.984 kB / 0.8016 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02666, allocations: 0 / 0.8016 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.02694, allocations: 176.4 kB / 0.8018 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02695, allocations: 0 / 0.8018 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.02707, allocations: 27.98 kB / 0.8018 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.02707, allocations: 0 / 0.8018 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.02709, allocations: 12 kB / 0.8018 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02709, allocations: 0 / 0.8018 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02709, allocations: 0 / 0.8018 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.02768, allocations: 279.7 kB / 0.8021 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.02776, allocations: 31.81 kB / 0.8021 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.02778, allocations: 0 / 0.8021 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.02796, allocations: 12 kB / 0.8022 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.028, allocations: 15.91 kB / 0.8022 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.02802, allocations: 12 kB / 0.8022 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001204/0.02814, allocations: 151.2 kB / 0.8023 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02814, allocations: 4 kB / 0.8023 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004092/0.02855, allocations: 75.88 kB / 0.8024 GB, free: 11.89 MB / 0.7605 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.0003903/0.02894, allocations: 179 kB / 0.8026 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.02923, allocations: 130.3 kB / 0.8027 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02923, allocations: 320 / 0.8027 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.02932, allocations: 55.61 kB / 0.8027 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.02973, allocations: 52.08 kB / 0.8028 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.03046, allocations: 311.2 kB / 0.8031 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.03059, allocations: 94.94 kB / 0.8032 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.03075, allocations: 61.12 kB / 0.8032 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.0308, allocations: 24.5 kB / 0.8033 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.0308, allocations: 0 / 0.8033 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of Templates: time 0.008228/0.03903, allocations: 3.072 MB / 0.8063 GB, free: 7.938 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/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.20104525203351]