Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001358/0.001358, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001453/0.001453, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.034/1.034, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.898/1.898, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.128e-05, allocations: 3.719 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004481/0.004502, allocations: 4.568 MB / 0.7645 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.006642, allocations: 2.845 MB / 0.7673 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.006701, allocations: 0 / 0.7673 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.006954, allocations: 43.69 kB / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.007182, allocations: 108.7 kB / 0.7674 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.007984, allocations: 0.5251 MB / 0.7679 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.008192, allocations: 250.7 kB / 0.7682 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.008237, allocations: 10.47 kB / 0.7682 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.009018, allocations: 0.5181 MB / 0.7687 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.009111, allocations: 72.55 kB / 0.7688 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.009131, allocations: 7.938 kB / 0.7688 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.009736, allocations: 492 kB / 0.7692 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.009794, allocations: 35.83 kB / 0.7693 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.009852, allocations: 61.58 kB / 0.7693 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.01024, allocations: 358.8 kB / 0.7697 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01025, allocations: 0 / 0.7697 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01025, allocations: 0 / 0.7697 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.01025, allocations: 0 / 0.7697 GB, free: 12.8 MB / 0.7292 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.0005286/0.01078, allocations: 422.8 kB / 0.7701 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.01082, allocations: 8.031 kB / 0.7701 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.01094, allocations: 40.78 kB / 0.7701 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.0111, allocations: 153.5 kB / 0.7703 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.01111, allocations: 8.703 kB / 0.7703 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.01113, allocations: 20.38 kB / 0.7703 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.01139, allocations: 397.2 kB / 0.7707 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.0114, allocations: 192 / 0.7707 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.01141, allocations: 12.12 kB / 0.7707 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.01145, allocations: 4 kB / 0.7707 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.01167, allocations: 239.4 kB / 0.7709 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.01227, allocations: 0.7561 MB / 0.7717 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.01243, allocations: 151.1 kB / 0.7718 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.01247, allocations: 38.81 kB / 0.7718 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/0.01291, allocations: 470 kB / 0.7723 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.01294, allocations: 34.56 kB / 0.7723 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.031e-06/0.01294, allocations: 1.156 kB / 0.7723 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001726/0.01311, allocations: 137.4 kB / 0.7724 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.01314, allocations: 55.41 kB / 0.7725 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.01323, allocations: 164.5 kB / 0.7727 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.01324, allocations: 26.92 kB / 0.7727 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.0133, allocations: 148 kB / 0.7728 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.01333, allocations: 59.52 kB / 0.7729 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.01337, allocations: 49.64 kB / 0.7729 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.01345, allocations: 331.5 kB / 0.7732 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.01348, allocations: 22.81 kB / 0.7733 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.01355, allocations: 122.4 kB / 0.7734 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01367, allocations: 190.9 kB / 0.7736 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01368, allocations: 0 / 0.7736 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000236/0.01391, allocations: 159.3 kB / 0.7737 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01393, allocations: 8 kB / 0.7737 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01394, allocations: 7.984 kB / 0.7737 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01395, allocations: 9.359 kB / 0.7737 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01406, allocations: 55.92 kB / 0.7738 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01407, allocations: 4 kB / 0.7738 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.01413, allocations: 33.27 kB / 0.7738 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01414, allocations: 16 kB / 0.7738 GB, free: 8.184 MB / 0.7292 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 6.663e-05/0.01421, allocations: 124.5 kB / 0.774 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.01423, allocations: 17.02 kB / 0.774 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.01438, allocations: 124.8 kB / 0.7741 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.01439, allocations: 0 / 0.7741 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01439, allocations: 0.7812 kB / 0.7741 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01439, allocations: 0 / 0.7741 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.01452, allocations: 118.7 kB / 0.7742 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.01452, allocations: 3.938 kB / 0.7742 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.01458, allocations: 25.7 kB / 0.7742 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01458, allocations: 4 kB / 0.7742 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.01459, allocations: 4 kB / 0.7742 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01459, allocations: 0 / 0.7742 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01459, allocations: 0 / 0.7742 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.01471, allocations: 222.8 kB / 0.7745 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.01475, allocations: 31.8 kB / 0.7745 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.01476, allocations: 5.938 kB / 0.7745 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.01484, allocations: 8 kB / 0.7745 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.01486, allocations: 15.95 kB / 0.7745 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.01487, allocations: 8 kB / 0.7745 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.0149, allocations: 31.77 kB / 0.7746 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0149, allocations: 0 / 0.7746 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002314/0.01513, allocations: 89.67 kB / 0.7746 GB, free: 7.328 MB / 0.7292 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.0002364/0.01537, allocations: 168.6 kB / 0.7748 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.0155, allocations: 99.11 kB / 0.7749 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.01551, allocations: 8 kB / 0.7749 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.01554, allocations: 40.88 kB / 0.7749 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.01574, allocations: 48.42 kB / 0.775 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.01639, allocations: 331.9 kB / 0.7753 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.01643, allocations: 73.14 kB / 0.7754 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.257e-05/0.01652, allocations: 38.95 kB / 0.7754 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.01667, allocations: 110 kB / 0.7755 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.01667, allocations: 5 kB / 0.7755 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of Templates: time 0.005059/0.02172, allocations: 3.471 MB / 0.7789 GB, free: 3.027 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.191167233977467]