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.00207/0.00207, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002506/0.002506, allocations: 166 kB / 22.46 MB, free: 5.375 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.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.73/2.73, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] 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.532e-06/1.532e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.31e-05, allocations: 6.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006286/0.00631, allocations: 4.212 MB / 0.9551 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.009466, allocations: 2.449 MB / 0.9575 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.009562, allocations: 4 kB / 0.9575 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.00983, allocations: 51.61 kB / 0.9576 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.01012, allocations: 103.2 kB / 0.9577 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.01147, allocations: 0.5195 MB / 0.9582 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.01181, allocations: 251.8 kB / 0.9584 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.01186, allocations: 9.812 kB / 0.9584 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.01316, allocations: 0.5142 MB / 0.9589 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.01331, allocations: 83.7 kB / 0.959 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.01334, allocations: 8 kB / 0.959 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.01442, allocations: 490.8 kB / 0.9595 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.01449, allocations: 31.91 kB / 0.9595 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.01459, allocations: 59.88 kB / 0.9596 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007345/0.01533, allocations: 374.9 kB / 0.9599 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01533, allocations: 0 / 0.9599 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01533, allocations: 4 kB / 0.9599 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.01534, allocations: 0 / 0.9599 GB, free: 2.363 MB / 0.8575 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.0008612/0.0162, allocations: 437.4 kB / 0.9603 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.01624, allocations: 12.03 kB / 0.9603 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.01642, allocations: 20.84 kB / 0.9604 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.0167, allocations: 153.6 kB / 0.9605 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.01672, allocations: 16.64 kB / 0.9605 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.01674, allocations: 16.38 kB / 0.9605 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.01728, allocations: 467.1 kB / 0.961 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01729, allocations: 192 / 0.961 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.01732, allocations: 12.12 kB / 0.961 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.01734, allocations: 7.938 kB / 0.961 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.01789, allocations: 419.5 kB / 0.9614 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.01914, allocations: 0.825 MB / 0.9622 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.0195, allocations: 151.5 kB / 0.9624 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.01962, allocations: 56.81 kB / 0.9624 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008013/0.02042, allocations: 447.9 kB / 0.9628 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.02045, allocations: 38.55 kB / 0.9629 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.02045, allocations: 0 / 0.9629 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003706/0.02082, allocations: 141.5 kB / 0.963 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.02087, allocations: 51.41 kB / 0.9631 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.02104, allocations: 169.1 kB / 0.9632 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.02107, allocations: 29.7 kB / 0.9632 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.02118, allocations: 156 kB / 0.9634 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.02123, allocations: 55.47 kB / 0.9635 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.0213, allocations: 53.66 kB / 0.9635 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.02146, allocations: 330.8 kB / 0.9638 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.02156, allocations: 31.98 kB / 0.9638 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.02173, allocations: 138.2 kB / 0.964 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.022, allocations: 204.1 kB / 0.9642 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02201, allocations: 0 / 0.9642 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003766/0.02238, allocations: 213.2 kB / 0.9644 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.0224, allocations: 4 kB / 0.9644 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.0224, allocations: 4 kB / 0.9644 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.02243, allocations: 12 kB / 0.9644 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.02263, allocations: 56.39 kB / 0.9645 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.02264, allocations: 15.92 kB / 0.9645 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.02277, allocations: 27.78 kB / 0.9645 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.02279, allocations: 16 kB / 0.9645 GB, free: 13.28 MB / 0.8731 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.00015/0.02294, allocations: 129.7 kB / 0.9646 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.02299, allocations: 15.91 kB / 0.9646 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.02333, allocations: 156.5 kB / 0.9648 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.02334, allocations: 4 kB / 0.9648 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02334, allocations: 0 / 0.9648 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.02334, allocations: 0 / 0.9648 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.02359, allocations: 161.1 kB / 0.965 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02359, allocations: 7.938 kB / 0.965 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.02371, allocations: 31.92 kB / 0.965 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02371, allocations: 4 kB / 0.965 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.02373, allocations: 0 / 0.965 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02373, allocations: 0 / 0.965 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02373, allocations: 0 / 0.965 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.02402, allocations: 227.3 kB / 0.9652 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.02409, allocations: 27.86 kB / 0.9652 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.02411, allocations: 0 / 0.9652 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.02434, allocations: 15.98 kB / 0.9653 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.02436, allocations: 11.98 kB / 0.9653 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.02439, allocations: 15.98 kB / 0.9653 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.674e-05/0.02447, allocations: 105.9 kB / 0.9654 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.02447, allocations: 0 / 0.9654 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004085/0.02488, allocations: 87.75 kB / 0.9655 GB, free: 12.24 MB / 0.8731 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.0003618/0.02524, allocations: 199 kB / 0.9657 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.0255, allocations: 113.3 kB / 0.9658 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02551, allocations: 0 / 0.9658 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.02558, allocations: 39.92 kB / 0.9658 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.02598, allocations: 48.83 kB / 0.9658 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.0267, allocations: 306.3 kB / 0.9661 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.02681, allocations: 102.9 kB / 0.9662 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.02695, allocations: 45.22 kB / 0.9663 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.02701, allocations: 28.48 kB / 0.9663 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/0.02701, allocations: 0 / 0.9663 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.007891/0.0349, allocations: 3.04 MB / 0.9693 GB, free: 8.352 MB / 0.8731 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=400 -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/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.095214255154133]