Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 113.5 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 60.34 kB / 0.8707 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3424, allocations: 151.6 MB / 1.019 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006026/0.3485, allocations: 4.429 MB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.3512, allocations: 2.691 MB / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.3512, allocations: 0 / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3516, allocations: 51.67 kB / 1.026 GB, free: 2.727 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.3519, allocations: 99.34 kB / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.353, allocations: 493.9 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.3533, allocations: 239.9 kB / 1.027 GB, free: 1.914 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.3533, allocations: 13.56 kB / 1.027 GB, free: 1.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008997/0.3542, allocations: 418.8 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3543, allocations: 87.66 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.3544, allocations: 8 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009769/0.3554, allocations: 499 kB / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.3554, allocations: 31.91 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.3555, allocations: 83.59 kB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.3561, allocations: 359.1 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3561, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3561, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3561, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 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.00074/0.3569, allocations: 0.4953 MB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3569, allocations: 8.922 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3571, allocations: 24.75 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3574, allocations: 212.1 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3574, allocations: 8.703 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.3574, allocations: 20.38 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.3578, allocations: 253 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3578, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3578, allocations: 12 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.3579, allocations: 8 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.3583, allocations: 427.5 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3594, allocations: 1.008 MB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3597, allocations: 155 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3598, allocations: 68.86 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.3612, allocations: 1.817 MB / 1.032 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3612, allocations: 38.56 kB / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.3612, allocations: 0 / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003441/0.3616, allocations: 147.5 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3616, allocations: 59.34 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3618, allocations: 168.2 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3618, allocations: 33.7 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.3619, allocations: 147.7 kB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.3619, allocations: 51.25 kB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.362, allocations: 53.61 kB / 1.033 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3622, allocations: 326.8 kB / 1.033 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.3622, allocations: 35.97 kB / 1.033 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.3624, allocations: 138.7 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.3627, allocations: 203.5 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3627, allocations: 0 / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003347/0.363, allocations: 213.4 kB / 1.034 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.363, allocations: 4 kB / 1.034 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3631, allocations: 7.984 kB / 1.034 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.3631, allocations: 8 kB / 1.034 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3633, allocations: 55.86 kB / 1.034 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.3633, allocations: 11.92 kB / 1.034 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3634, allocations: 27.69 kB / 1.034 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3635, allocations: 16 kB / 1.034 GB, free: 9.492 MB / 0.8106 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.0001305/0.3636, allocations: 136.2 kB / 1.034 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.3637, allocations: 19.81 kB / 1.034 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.364, allocations: 158.9 kB / 1.034 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.364, allocations: 7.922 kB / 1.034 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.364, allocations: 0 / 1.034 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.364, allocations: 0 / 1.034 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.3643, allocations: 217.5 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3643, allocations: 0 / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.3644, allocations: 19.98 kB / 1.035 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.3644, allocations: 8 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3645, allocations: 4 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.3645, allocations: 3.938 kB / 1.035 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3645, allocations: 0 / 1.035 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3647, allocations: 229.5 kB / 1.035 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3649, allocations: 104.9 kB / 1.035 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3649, allocations: 0 / 1.035 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3651, allocations: 23.92 kB / 1.035 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.3651, allocations: 7.984 kB / 1.035 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3652, allocations: 15.98 kB / 1.035 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.23e-05/0.3653, allocations: 120 kB / 1.035 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3653, allocations: 3.938 kB / 1.035 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004115/0.3657, allocations: 75.91 kB / 1.035 GB, free: 8.27 MB / 0.8106 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.0003983/0.3661, allocations: 183.1 kB / 1.035 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.3664, allocations: 123.7 kB / 1.035 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3664, allocations: 0 / 1.035 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.3665, allocations: 43.92 kB / 1.035 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.3669, allocations: 56.83 kB / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007982/0.3677, allocations: 346.5 kB / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.368, allocations: 0.7089 MB / 1.037 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.3682, allocations: 53.67 kB / 1.037 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3682, allocations: 23.44 kB / 1.037 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3682, allocations: 0 / 1.037 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of Templates: time 0.006854/0.3751, allocations: 3.341 MB / 1.04 GB, free: 3.391 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches