Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001909/0.001909, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.534/1.534, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.843/2.843, allocations: 437 MB / 0.7101 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.88 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6758, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01717/0.693, allocations: 13.11 MB / 1.03 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.6963, allocations: 2.656 MB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.6964, allocations: 3.938 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.6967, allocations: 39.8 kB / 1.032 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.697, allocations: 91.42 kB / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.6982, allocations: 480.7 kB / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.6984, allocations: 232 kB / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.6985, allocations: 13.55 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008505/0.707, allocations: 3.362 MB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.7073, allocations: 91.66 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.7073, allocations: 12 kB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.7099, allocations: 1.034 MB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.71, allocations: 43.88 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.7101, allocations: 79.66 kB / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.711, allocations: 375 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.7111, allocations: 4 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7111, allocations: 0 / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.7111, allocations: 0 / 1.038 GB, free: 13.07 MB / 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.000898/0.712, allocations: 0.4991 MB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.712, allocations: 8.031 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.7122, allocations: 16.84 kB / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.7125, allocations: 232 kB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.7125, allocations: 8.703 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.7126, allocations: 16.38 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.713, allocations: 248.3 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.713, allocations: 3.938 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.713, allocations: 8 kB / 1.039 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.7131, allocations: 4 kB / 1.039 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.7136, allocations: 431.3 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.7149, allocations: 0.9605 MB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.7152, allocations: 161.1 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.7153, allocations: 56.89 kB / 1.04 GB, free: 10.24 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/0.717, allocations: 1.84 MB / 1.042 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.717, allocations: 38.55 kB / 1.042 GB, free: 7.996 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.717, allocations: 7.938 kB / 1.042 GB, free: 7.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.000364/0.7174, allocations: 136 kB / 1.042 GB, free: 7.852 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.7175, allocations: 55.34 kB / 1.042 GB, free: 7.785 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.7177, allocations: 177.1 kB / 1.043 GB, free: 7.602 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.7177, allocations: 25.7 kB / 1.043 GB, free: 7.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.7178, allocations: 147.7 kB / 1.043 GB, free: 7.422 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.7179, allocations: 59.19 kB / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.7179, allocations: 49.7 kB / 1.043 GB, free: 7.309 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.7181, allocations: 326.8 kB / 1.043 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.7182, allocations: 31.98 kB / 1.043 GB, free: 6.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.7184, allocations: 145.7 kB / 1.043 GB, free: 6.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.7187, allocations: 197.5 kB / 1.044 GB, free: 6.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7187, allocations: 4 kB / 1.044 GB, free: 6.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003528/0.719, allocations: 210.3 kB / 1.044 GB, free: 6.301 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.7191, allocations: 12.45 kB / 1.044 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.7191, allocations: 8 kB / 1.044 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.7191, allocations: 4 kB / 1.044 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.7193, allocations: 59.86 kB / 1.044 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.7193, allocations: 11.94 kB / 1.044 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.7194, allocations: 23.75 kB / 1.044 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.7195, allocations: 15.98 kB / 1.044 GB, free: 6.168 MB / 0.795 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.0001303/0.7196, allocations: 131.5 kB / 1.044 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.7197, allocations: 15.81 kB / 1.044 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.72, allocations: 163.9 kB / 1.044 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.72, allocations: 3.938 kB / 1.044 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.72, allocations: 0 / 1.044 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.72, allocations: 3.984 kB / 1.044 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.7203, allocations: 217.5 kB / 1.044 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7203, allocations: 0 / 1.044 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.191e-05/0.7204, allocations: 27.92 kB / 1.044 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7205, allocations: 4 kB / 1.044 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.7205, allocations: 4 kB / 1.044 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.7205, allocations: 3.938 kB / 1.044 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7205, allocations: 4 kB / 1.044 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.7208, allocations: 216.1 kB / 1.045 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.7209, allocations: 112.8 kB / 1.045 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.7209, allocations: 3.984 kB / 1.045 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.7211, allocations: 23.86 kB / 1.045 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.7212, allocations: 8 kB / 1.045 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.7212, allocations: 15.92 kB / 1.045 GB, free: 5.129 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001096/0.7213, allocations: 129.6 kB / 1.045 GB, free: 5.004 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7213, allocations: 0 / 1.045 GB, free: 5.004 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004322/0.7218, allocations: 79.98 kB / 1.045 GB, free: 4.926 MB / 0.795 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.0004011/0.7222, allocations: 183.6 kB / 1.045 GB, free: 4.738 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.7225, allocations: 124.6 kB / 1.045 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7225, allocations: 0 / 1.045 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.7226, allocations: 45.47 kB / 1.045 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.723, allocations: 60.88 kB / 1.045 GB, free: 4.516 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.7238, allocations: 390.9 kB / 1.046 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.7242, allocations: 0.7166 MB / 1.047 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.7244, allocations: 49.75 kB / 1.047 GB, free: 3.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.7244, allocations: 27.42 kB / 1.047 GB, free: 3.293 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.7244, allocations: 0 / 1.047 GB, free: 3.293 MB / 0.795 GB Notification: Performance of Templates: time 0.008172/0.7326, allocations: 3.63 MB / 1.05 GB, free: 15.7 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches