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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007915/0.007915, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001853/0.001853, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.341/1.341, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6352/0.6367, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01472/0.6514, allocations: 13.87 MB / 0.9631 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.6544, allocations: 2.693 MB / 0.9658 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.6545, allocations: 5.062 kB / 0.9658 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.6548, allocations: 42.88 kB / 0.9658 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.6551, allocations: 82.66 kB / 0.9659 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.6563, allocations: 466 kB / 0.9663 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.6566, allocations: 302.8 kB / 0.9666 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.6567, allocations: 13.23 kB / 0.9666 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008676/0.6654, allocations: 3.149 MB / 0.9697 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.6656, allocations: 95 kB / 0.9698 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.6657, allocations: 7.062 kB / 0.9698 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.6687, allocations: 0.9868 MB / 0.9708 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.6688, allocations: 33.3 kB / 0.9708 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.6689, allocations: 81.62 kB / 0.9709 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.6696, allocations: 255.1 kB / 0.9711 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6696, allocations: 0 / 0.9711 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6696, allocations: 4 kB / 0.9711 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6696, allocations: 1.438 kB / 0.9711 GB, free: 8.746 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.0007803/0.6704, allocations: 0.4907 MB / 0.9716 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6704, allocations: 8.875 kB / 0.9716 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.6706, allocations: 26.08 kB / 0.9716 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.6708, allocations: 216.9 kB / 0.9718 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6709, allocations: 11.61 kB / 0.9718 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.6709, allocations: 14.78 kB / 0.9719 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.6713, allocations: 256.9 kB / 0.9721 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6713, allocations: 1.062 kB / 0.9721 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.6714, allocations: 6.781 kB / 0.9721 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.6714, allocations: 9.281 kB / 0.9721 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.6719, allocations: 440.9 kB / 0.9725 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.6731, allocations: 0.9572 MB / 0.9735 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.6734, allocations: 166.7 kB / 0.9736 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.6735, allocations: 63.91 kB / 0.9737 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.675, allocations: 1.827 MB / 0.9755 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.6751, allocations: 36.94 kB / 0.9755 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.6751, allocations: 0 / 0.9755 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003605/0.6754, allocations: 153.4 kB / 0.9757 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.6755, allocations: 57.31 kB / 0.9757 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.6757, allocations: 170.6 kB / 0.9759 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6757, allocations: 31.27 kB / 0.9759 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.6758, allocations: 139.8 kB / 0.976 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.6759, allocations: 49.95 kB / 0.9761 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.6759, allocations: 53.08 kB / 0.9761 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6761, allocations: 330.4 kB / 0.9765 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.6761, allocations: 38.22 kB / 0.9765 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.6763, allocations: 128.2 kB / 0.9766 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.6765, allocations: 200.8 kB / 0.9768 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6766, allocations: 5 kB / 0.9768 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003484/0.6769, allocations: 217.4 kB / 0.977 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.6769, allocations: 8.5 kB / 0.977 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.677, allocations: 4.406 kB / 0.977 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.677, allocations: 9.094 kB / 0.977 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.6772, allocations: 56.86 kB / 0.9771 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.6772, allocations: 16.67 kB / 0.9771 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.6773, allocations: 29.16 kB / 0.9771 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.6773, allocations: 15.03 kB / 0.9772 GB, free: 3.039 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.0001052/0.6775, allocations: 128.5 kB / 0.9773 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.6775, allocations: 12.19 kB / 0.9773 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.6778, allocations: 165 kB / 0.9774 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.6778, allocations: 6 kB / 0.9774 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6779, allocations: 1.031 kB / 0.9774 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6779, allocations: 0 / 0.9774 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.6781, allocations: 217.6 kB / 0.9777 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6781, allocations: 1.062 kB / 0.9777 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.6782, allocations: 18.72 kB / 0.9777 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6782, allocations: 4.969 kB / 0.9777 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6782, allocations: 10.45 kB / 0.9777 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6783, allocations: 3.938 kB / 0.9777 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6783, allocations: 1.125 kB / 0.9777 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.6785, allocations: 225.7 kB / 0.9779 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.6786, allocations: 111 kB / 0.978 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.6786, allocations: 9.406 kB / 0.978 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.6788, allocations: 15.8 kB / 0.978 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.6789, allocations: 12.48 kB / 0.9781 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.6789, allocations: 11.61 kB / 0.9781 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.822e-05/0.679, allocations: 123.2 kB / 0.9782 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.679, allocations: 0 / 0.9782 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004074/0.6794, allocations: 82.23 kB / 0.9783 GB, free: 2.105 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.0003818/0.6798, allocations: 180.5 kB / 0.9784 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.68, allocations: 120.4 kB / 0.9785 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.68, allocations: 1.094 kB / 0.9785 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.6801, allocations: 50.77 kB / 0.9786 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.6806, allocations: 54.48 kB / 0.9786 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.6813, allocations: 417 kB / 0.979 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.6816, allocations: 0.7163 MB / 0.9797 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.6817, allocations: 27.44 kB / 0.9798 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.6817, allocations: 0 / 0.9798 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of Templates: time 0.00547/0.6871, allocations: 3.412 MB / 0.9831 GB, free: 14.83 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/jenkins1/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