Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001791/0.001791, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.15 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.135/2.135, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6475, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00413/0.6516, allocations: 4.015 MB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001556/0.6518, allocations: 158.7 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.6518, allocations: 0 / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.292e-05/0.6519, allocations: 5.766 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.652, allocations: 17.05 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.6523, allocations: 83.06 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.6524, allocations: 37.36 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.6525, allocations: 3.219 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.6525, allocations: 11.11 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.6526, allocations: 20.41 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.6526, allocations: 0.8438 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.6528, allocations: 57.16 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.6528, allocations: 12.23 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.6529, allocations: 10.5 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.653, allocations: 41.84 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.653, allocations: 0.875 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.653, allocations: 0 / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.653, allocations: 0 / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002814/0.6533, allocations: 333.1 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6533, allocations: 9.797 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.6534, allocations: 2.062 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.549e-05/0.6534, allocations: 170.5 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.6535, allocations: 28.45 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.6535, allocations: 1.5 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.6536, allocations: 51.94 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.6536, allocations: 3.938 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6537, allocations: 0.6875 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.6537, allocations: 5.422 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.6537, allocations: 12.61 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.654, allocations: 336.7 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.455e-05/0.6541, allocations: 17.41 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.6541, allocations: 14.23 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/0.6542, allocations: 84.2 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.6542, allocations: 32 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.6542, allocations: 7.922 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.6543, allocations: 38.08 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.186e-05/0.6543, allocations: 52.19 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.6544, allocations: 102.4 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.6544, allocations: 26.3 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.6544, allocations: 88.39 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.6544, allocations: 8.75 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.6545, allocations: 19.34 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.6545, allocations: 320.6 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.6545, allocations: 6.406 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.6546, allocations: 15.92 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.6546, allocations: 24.95 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6546, allocations: 0 / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.04e-05/0.6547, allocations: 46.27 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6547, allocations: 10.06 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.6547, allocations: 0 / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6547, allocations: 1.609 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.6548, allocations: 5.75 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6548, allocations: 1.406 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.6548, allocations: 9.75 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.6548, allocations: 1.031 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 4.405e-05/0.6549, allocations: 113.3 kB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.6549, allocations: 1.062 kB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-05/0.655, allocations: 126.2 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.655, allocations: 178.7 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/0.6551, allocations: 102.3 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.6552, allocations: 184.3 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.6552, allocations: 183.5 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.6554, allocations: 121 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.6555, allocations: 177.9 kB / 1.096 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.756e-05/0.6556, allocations: 265.1 kB / 1.096 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001673/0.6557, allocations: 377.9 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.34e-05/0.6558, allocations: 114.5 kB / 1.097 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.6559, allocations: 82.31 kB / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of Backend: time 2.01e-07/0.6559, allocations: 0.875 kB / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.6563, allocations: 111.8 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0005029/0.6568, allocations: 0.8607 MB / 1.098 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of Templates: time 0.002501/0.6593, allocations: 0.5393 MB / 1.098 GB, free: 13.33 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches