Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001912/0.001912, 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.002472/0.002473, allocations: 187.5 kB / 16.25 MB, free: 6.633 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.575/2.575, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.7879, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01516/0.8031, allocations: 13.11 MB / 0.9619 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00326/0.8064, allocations: 2.661 MB / 0.9645 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.8066, allocations: 0.9688 kB / 0.9645 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.8069, allocations: 42.55 kB / 0.9645 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.8072, allocations: 87.86 kB / 0.9646 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.8087, allocations: 471.5 kB / 0.9651 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.809, allocations: 239 kB / 0.9653 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.8091, allocations: 12.56 kB / 0.9653 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.8192, allocations: 3.368 MB / 0.9686 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.8195, allocations: 86.33 kB / 0.9687 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.8195, allocations: 8.031 kB / 0.9687 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.8225, allocations: 1.045 MB / 0.9697 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.8226, allocations: 42.67 kB / 0.9697 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.8227, allocations: 88.3 kB / 0.9698 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007937/0.8235, allocations: 361.1 kB / 0.9702 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8235, allocations: 0 / 0.9702 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8236, allocations: 0 / 0.9702 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.8236, allocations: 0 / 0.9702 GB, free: 8.969 MB / 0.7325 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.0007519/0.8243, allocations: 0.5042 MB / 0.9707 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8244, allocations: 10.41 kB / 0.9707 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.8246, allocations: 21.47 kB / 0.9707 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.8248, allocations: 225.3 kB / 0.9709 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.8248, allocations: 11.2 kB / 0.9709 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.8248, allocations: 18.69 kB / 0.9709 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.8252, allocations: 245.3 kB / 0.9712 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.8253, allocations: 3.938 kB / 0.9712 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.8253, allocations: 7.25 kB / 0.9712 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.8253, allocations: 9.156 kB / 0.9712 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.8259, allocations: 429.5 kB / 0.9716 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.827, allocations: 0.9532 MB / 0.9725 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.8272, allocations: 160.3 kB / 0.9727 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.8274, allocations: 62.72 kB / 0.9727 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.8287, allocations: 1.843 MB / 0.9745 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.8288, allocations: 36.78 kB / 0.9746 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.8288, allocations: 0 / 0.9746 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003225/0.8291, allocations: 142.2 kB / 0.9747 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.8292, allocations: 56.62 kB / 0.9748 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.8293, allocations: 180.2 kB / 0.9749 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.8293, allocations: 34.86 kB / 0.975 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.8294, allocations: 139.4 kB / 0.9751 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.8295, allocations: 54.92 kB / 0.9752 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.8296, allocations: 52.3 kB / 0.9752 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8297, allocations: 331.4 kB / 0.9755 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.884e-05/0.8297, allocations: 33.17 kB / 0.9756 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.8299, allocations: 136.4 kB / 0.9757 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.8301, allocations: 199.4 kB / 0.9759 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8301, allocations: 5.219 kB / 0.9759 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003179/0.8305, allocations: 217.4 kB / 0.9761 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8305, allocations: 6.219 kB / 0.9761 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8305, allocations: 4.25 kB / 0.9761 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.8305, allocations: 5.125 kB / 0.9761 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.8307, allocations: 60.78 kB / 0.9762 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.8307, allocations: 8.594 kB / 0.9762 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.8309, allocations: 25.41 kB / 0.9762 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.8309, allocations: 10.62 kB / 0.9762 GB, free: 3.27 MB / 0.7325 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.0001181/0.831, allocations: 145.3 kB / 0.9763 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.8311, allocations: 12.34 kB / 0.9764 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.8314, allocations: 158.4 kB / 0.9765 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.8314, allocations: 6.938 kB / 0.9765 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8314, allocations: 0 / 0.9765 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8314, allocations: 0 / 0.9765 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.8317, allocations: 218.5 kB / 0.9767 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8317, allocations: 0 / 0.9767 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.8318, allocations: 27.83 kB / 0.9768 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.8318, allocations: 4 kB / 0.9768 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.8318, allocations: 10.06 kB / 0.9768 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8318, allocations: 4.875 kB / 0.9768 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8318, allocations: 0 / 0.9768 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.8321, allocations: 217.5 kB / 0.977 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.8322, allocations: 109.3 kB / 0.9771 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.8322, allocations: 5.094 kB / 0.9771 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.8324, allocations: 21.23 kB / 0.9771 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.8324, allocations: 17.02 kB / 0.9771 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.8325, allocations: 10.23 kB / 0.9771 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.8326, allocations: 124.8 kB / 0.9773 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8326, allocations: 3.938 kB / 0.9773 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003939/0.833, allocations: 74.38 kB / 0.9773 GB, free: 2.328 MB / 0.7325 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.000373/0.8334, allocations: 192.3 kB / 0.9775 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.8336, allocations: 124.3 kB / 0.9776 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8336, allocations: 0 / 0.9776 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.8337, allocations: 51.67 kB / 0.9777 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.8342, allocations: 53.27 kB / 0.9777 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.8349, allocations: 399.7 kB / 0.9781 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.8352, allocations: 0.708 MB / 0.9788 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.8354, allocations: 50.95 kB / 0.9788 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.8354, allocations: 25.78 kB / 0.9789 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.8354, allocations: 3.938 kB / 0.9789 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.006964/0.8424, allocations: 3.61 MB / 0.9824 GB, free: 15.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches