Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterProperties.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.WaterProperties,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.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001085/0.001085, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.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.845/2.845, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004229, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7927, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004638/0.7974, allocations: 4.207 MB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.8, allocations: 2.494 MB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.8001, allocations: 0 / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.8003, allocations: 39.72 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.8006, allocations: 83.5 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.8017, allocations: 411.2 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.802, allocations: 267.9 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.802, allocations: 9.562 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.8022, allocations: 107.6 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.8024, allocations: 95.64 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.8024, allocations: 8 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.803, allocations: 259.4 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.8031, allocations: 39.83 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.8032, allocations: 53.64 kB / 1.03 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.8035, allocations: 225.5 kB / 1.03 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8035, allocations: 0 / 1.03 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8035, allocations: 0 / 1.03 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8035, allocations: 0 / 1.03 GB, free: 7.703 MB / 0.7794 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.0007496/0.8043, allocations: 471.1 kB / 1.031 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8043, allocations: 8.562 kB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.8045, allocations: 27.75 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.8047, allocations: 214.8 kB / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.8047, allocations: 12.33 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.8047, allocations: 16 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.8051, allocations: 244.1 kB / 1.031 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8051, allocations: 0 / 1.031 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.8052, allocations: 12 kB / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.8052, allocations: 7.984 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.8057, allocations: 427.3 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.8068, allocations: 0.9527 MB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.807, allocations: 155 kB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.8072, allocations: 58.42 kB / 1.033 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.8087, allocations: 1.833 MB / 1.035 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.8088, allocations: 38.56 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.8088, allocations: 0 / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003666/0.8091, allocations: 139.1 kB / 1.035 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.8092, allocations: 55.36 kB / 1.035 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.8094, allocations: 177.3 kB / 1.035 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.8094, allocations: 33.7 kB / 1.035 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.8095, allocations: 139.8 kB / 1.035 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.8096, allocations: 51.27 kB / 1.035 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.8096, allocations: 4 kB / 1.035 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8098, allocations: 326.8 kB / 1.036 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.8098, allocations: 27.98 kB / 1.036 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.81, allocations: 145.6 kB / 1.036 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.8101, allocations: 51.94 kB / 1.036 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8102, allocations: 0 / 1.036 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003726/0.8105, allocations: 220.2 kB / 1.036 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.8106, allocations: 4 kB / 1.036 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.8106, allocations: 11.94 kB / 1.036 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.8106, allocations: 8 kB / 1.036 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.8108, allocations: 51.92 kB / 1.036 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.8109, allocations: 12.41 kB / 1.036 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.811, allocations: 39.67 kB / 1.036 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.811, allocations: 8 kB / 1.036 GB, free: 1.109 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.8112, allocations: 129.7 kB / 1.036 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.8112, allocations: 19.81 kB / 1.036 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.8116, allocations: 162.8 kB / 1.037 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.8116, allocations: 3.984 kB / 1.037 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8116, allocations: 0 / 1.037 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.8117, allocations: 11.95 kB / 1.037 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.8119, allocations: 209.6 kB / 1.037 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8119, allocations: 3.984 kB / 1.037 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.812, allocations: 20 kB / 1.037 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.812, allocations: 0 / 1.037 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.8121, allocations: 4 kB / 1.037 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.8121, allocations: 3.984 kB / 1.037 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.8121, allocations: 7.938 kB / 1.037 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.8123, allocations: 215.2 kB / 1.037 GB, free: 264 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.8124, allocations: 112.8 kB / 1.037 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.8125, allocations: 7.984 kB / 1.037 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.8127, allocations: 12 kB / 1.037 GB, free: 112 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.8127, allocations: 15.98 kB / 1.037 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.8127, allocations: 11.98 kB / 1.037 GB, free: 84 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000112/0.8129, allocations: 118.3 kB / 1.037 GB, free: 15.97 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.8129, allocations: 0 / 1.037 GB, free: 15.97 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003752/0.8132, allocations: 75.98 kB / 1.037 GB, free: 15.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002762/0.8135, allocations: 186.9 kB / 1.037 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.8138, allocations: 111.2 kB / 1.038 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8138, allocations: 12.06 kB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.8139, allocations: 39.98 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.8143, allocations: 55.89 kB / 1.038 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.815, allocations: 439.3 kB / 1.038 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.8154, allocations: 0.7094 MB / 1.039 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000169/0.8156, allocations: 45.83 kB / 1.039 GB, free: 14.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.8156, allocations: 19.44 kB / 1.039 GB, free: 14.24 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.8156, allocations: 0 / 1.039 GB, free: 14.24 MB / 0.795 GB Notification: Performance of Templates: time 0.006849/0.8225, allocations: 3.191 MB / 1.042 GB, free: 11.09 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches