Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001135/0.001135, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001234/0.001234, allocations: 187 kB / 17.34 MB, free: 5.719 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 59.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8179, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005425/0.8234, allocations: 4.723 MB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.8259, allocations: 2.7 MB / 1.096 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.826, allocations: 1.875 kB / 1.096 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.8263, allocations: 46.12 kB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.8266, allocations: 100.3 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.8279, allocations: 0.4889 MB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.8283, allocations: 237.4 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.8283, allocations: 13.95 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.8285, allocations: 115.7 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.8287, allocations: 91.11 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.8287, allocations: 8.094 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.8295, allocations: 366 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.8296, allocations: 38.72 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.8298, allocations: 78.23 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.8304, allocations: 362.4 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8305, allocations: 0 / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8305, allocations: 8.969 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8305, allocations: 0 / 1.098 GB, free: 15.3 MB / 0.8731 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.000734/0.8312, allocations: 0.4999 MB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8313, allocations: 9.094 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.8314, allocations: 23.34 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.8317, allocations: 209.5 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.8318, allocations: 15.77 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.8318, allocations: 14.03 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.8322, allocations: 254.2 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8323, allocations: 1.578 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.8323, allocations: 6.5 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.8323, allocations: 6.047 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.8329, allocations: 433.4 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.8341, allocations: 0.9463 MB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.8344, allocations: 163.2 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.8345, allocations: 65.44 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.8358, allocations: 1.828 MB / 1.102 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.8359, allocations: 38.42 kB / 1.102 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.8359, allocations: 0 / 1.102 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003396/0.8362, allocations: 148.5 kB / 1.102 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.8363, allocations: 58.08 kB / 1.102 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.8364, allocations: 174.4 kB / 1.103 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.8365, allocations: 31.95 kB / 1.103 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.8366, allocations: 141 kB / 1.103 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.8366, allocations: 51.75 kB / 1.103 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.8367, allocations: 49.8 kB / 1.103 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8368, allocations: 326.6 kB / 1.103 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.8369, allocations: 43.06 kB / 1.103 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.837, allocations: 140 kB / 1.103 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.8373, allocations: 200.1 kB / 1.103 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8373, allocations: 1.156 kB / 1.103 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003407/0.8376, allocations: 216.6 kB / 1.104 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.8377, allocations: 7.531 kB / 1.104 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8377, allocations: 3.312 kB / 1.104 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8377, allocations: 5.562 kB / 1.104 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.8379, allocations: 67.58 kB / 1.104 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.8379, allocations: 6.062 kB / 1.104 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.838, allocations: 24.06 kB / 1.104 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.8381, allocations: 10.84 kB / 1.104 GB, free: 10.07 MB / 0.8731 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.0001044/0.8382, allocations: 140.2 kB / 1.104 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.8382, allocations: 16.66 kB / 1.104 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.8385, allocations: 153.4 kB / 1.104 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.8386, allocations: 7.641 kB / 1.104 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.8386, allocations: 4 kB / 1.104 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.8386, allocations: 0.75 kB / 1.104 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.8389, allocations: 216.5 kB / 1.104 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8389, allocations: 0.7188 kB / 1.104 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-05/0.839, allocations: 22.05 kB / 1.104 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.839, allocations: 1.031 kB / 1.104 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.839, allocations: 6.656 kB / 1.104 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.839, allocations: 5.938 kB / 1.104 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.839, allocations: 0 / 1.104 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.8393, allocations: 229 kB / 1.105 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.8394, allocations: 112.2 kB / 1.105 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.8394, allocations: 1.672 kB / 1.105 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.8396, allocations: 18.66 kB / 1.105 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.8397, allocations: 12.98 kB / 1.105 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.8397, allocations: 12.27 kB / 1.105 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.207e-05/0.8398, allocations: 120 kB / 1.105 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8398, allocations: 0 / 1.105 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004238/0.8402, allocations: 84.61 kB / 1.105 GB, free: 9.203 MB / 0.8731 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.0003219/0.8406, allocations: 172.2 kB / 1.105 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.8408, allocations: 120.4 kB / 1.105 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8408, allocations: 1.125 kB / 1.105 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.8409, allocations: 45.89 kB / 1.105 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.8414, allocations: 53.52 kB / 1.105 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.8421, allocations: 370.2 kB / 1.106 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.8424, allocations: 0.7184 MB / 1.106 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.8425, allocations: 33.95 kB / 1.106 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8425, allocations: 0 / 1.106 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of Templates: time 0.007097/0.8496, allocations: 3.176 MB / 1.109 GB, free: 7.691 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches