Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001839/0.001839, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00217/0.00217, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.891/2.891, allocations: 389 MB / 0.633 GB, free: 1.047 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.776e-05, allocations: 6.219 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.008182/0.00822, allocations: 4.281 MB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003798/0.01202, allocations: 2.445 MB / 1.007 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.01218, allocations: 4 kB / 1.007 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.01257, allocations: 39.7 kB / 1.007 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.01305, allocations: 107.2 kB / 1.007 GB, free: 436 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.0148, allocations: 0.5154 MB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.01523, allocations: 239.8 kB / 1.008 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.428e-05/0.01531, allocations: 17.8 kB / 1.008 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.0168, allocations: 0.4971 MB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.017, allocations: 83.7 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.01705, allocations: 8 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.01837, allocations: 0.491 MB / 1.009 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/0.01847, allocations: 39.83 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.0186, allocations: 59.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.01964, allocations: 366.9 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01964, allocations: 0 / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01965, allocations: 0 / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.01965, allocations: 0 / 1.009 GB, free: 14.12 MB / 0.9669 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.001095/0.02075, allocations: 445.4 kB / 1.01 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.02079, allocations: 8.031 kB / 1.01 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.02101, allocations: 24.78 kB / 1.01 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.02141, allocations: 157.5 kB / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.02144, allocations: 16.7 kB / 1.01 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.02147, allocations: 20.36 kB / 1.01 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.02212, allocations: 459.1 kB / 1.01 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.02214, allocations: 8.125 kB / 1.01 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.02217, allocations: 12.12 kB / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.02221, allocations: 8 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.0228, allocations: 416 kB / 1.011 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.0241, allocations: 0.8289 MB / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.02451, allocations: 155.4 kB / 1.012 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.02463, allocations: 56.88 kB / 1.012 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008975/0.02553, allocations: 439.9 kB / 1.012 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.02557, allocations: 34.56 kB / 1.012 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.02557, allocations: 0 / 1.012 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0004167/0.02599, allocations: 148.5 kB / 1.012 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.02604, allocations: 59.34 kB / 1.012 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.02623, allocations: 156.9 kB / 1.012 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.02626, allocations: 33.7 kB / 1.012 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.02639, allocations: 144.1 kB / 1.013 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.02645, allocations: 59.47 kB / 1.013 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.02653, allocations: 49.7 kB / 1.013 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.02672, allocations: 326.8 kB / 1.013 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.0268, allocations: 31.98 kB / 1.013 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.02697, allocations: 141.7 kB / 1.013 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.02729, allocations: 197.5 kB / 1.013 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.02729, allocations: 8 kB / 1.013 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004573/0.02775, allocations: 209.2 kB / 1.014 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.02777, allocations: 8 kB / 1.014 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.02778, allocations: 7.984 kB / 1.014 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.02781, allocations: 4.469 kB / 1.014 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.02801, allocations: 63.86 kB / 1.014 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.02803, allocations: 15.92 kB / 1.014 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.02816, allocations: 23.84 kB / 1.014 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.02819, allocations: 8 kB / 1.014 GB, free: 9.051 MB / 0.9669 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.0001731/0.02836, allocations: 137.7 kB / 1.014 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.02841, allocations: 7.953 kB / 1.014 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.02878, allocations: 161.1 kB / 1.014 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.02879, allocations: 0 / 1.014 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.0288, allocations: 3.984 kB / 1.014 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.02881, allocations: 8 kB / 1.014 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.0291, allocations: 153.2 kB / 1.014 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.0291, allocations: 3.938 kB / 1.014 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.02923, allocations: 31.92 kB / 1.014 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.02923, allocations: 0 / 1.014 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.02925, allocations: 8 kB / 1.014 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.02925, allocations: 0 / 1.014 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02925, allocations: 0 / 1.014 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.02957, allocations: 223.2 kB / 1.014 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.02966, allocations: 35.81 kB / 1.014 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.02969, allocations: 8 kB / 1.014 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.02991, allocations: 15.98 kB / 1.014 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.02995, allocations: 15.92 kB / 1.014 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.02997, allocations: 11.94 kB / 1.014 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.94e-05/0.03007, allocations: 114.3 kB / 1.015 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.03007, allocations: 0 / 1.015 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004766/0.03055, allocations: 79.84 kB / 1.015 GB, free: 7.996 MB / 0.9669 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.0004379/0.03099, allocations: 187.1 kB / 1.015 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.0313, allocations: 118.5 kB / 1.015 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.0313, allocations: 0 / 1.015 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.03138, allocations: 35.92 kB / 1.015 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.03183, allocations: 56.83 kB / 1.015 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008866/0.03271, allocations: 302.2 kB / 1.015 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.03284, allocations: 106.9 kB / 1.015 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000166/0.03301, allocations: 45.27 kB / 1.015 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.03307, allocations: 24.48 kB / 1.016 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.03307, allocations: 7.938 kB / 1.016 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of Templates: time 0.01023/0.0433, allocations: 3.028 MB / 1.018 GB, free: 4.105 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.32544232159853]