Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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.004977/0.004977, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.00117/0.00117, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.335/1.335, allocations: 222.9 MB / 240.5 MB, free: 4.426 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.472/2.472, allocations: 437 MB / 0.7106 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6176, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005222/0.6228, allocations: 4.067 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.6231, allocations: 155.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.6231, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.6232, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.6233, allocations: 15.91 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.6237, allocations: 79.77 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6238, allocations: 59.81 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.6239, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.6239, allocations: 15.98 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.624, allocations: 11.92 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.624, allocations: 7.938 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.6243, allocations: 79.77 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.6243, allocations: 8 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.6243, allocations: 8 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.6245, allocations: 35.89 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6245, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6245, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6245, allocations: 0 / 1.022 GB, free: 14.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004169/0.6249, allocations: 333.5 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.625, allocations: 8.031 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.625, allocations: 4.938 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.6252, allocations: 168.3 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/0.6252, allocations: 30.27 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.6253, allocations: 8.375 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6254, allocations: 41.62 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6254, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6254, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.6255, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.6255, allocations: 15.98 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.626, allocations: 337.9 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.001e-05/0.626, allocations: 22.52 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.626, allocations: 4.859 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-05/0.6261, allocations: 85.17 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.6262, allocations: 34.55 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6262, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.6263, allocations: 37.7 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.6264, allocations: 59.47 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.6265, allocations: 105.8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.6265, allocations: 25.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.6266, allocations: 88.05 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.6266, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.6266, allocations: 17.72 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6267, allocations: 318.8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.6267, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.6268, allocations: 17.72 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.449e-05/0.6268, allocations: 21.7 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6268, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.977e-05/0.6269, allocations: 57.48 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6269, allocations: 6.031 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6269, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.627, allocations: 8.047 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.627, allocations: 8 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.627, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.627, allocations: 3.938 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6271, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 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 6.862e-05/0.6271, allocations: 113.7 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.6272, allocations: 4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.6273, allocations: 121 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-05/0.6274, allocations: 180.2 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-05/0.6274, allocations: 180.3 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-05/0.6275, allocations: 176.3 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.6277, allocations: 417.1 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/0.6278, allocations: 105 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.6278, allocations: 108.9 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.975e-05/0.6279, allocations: 180.3 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.628, allocations: 184.3 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.591e-05/0.628, allocations: 180.2 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.788e-05/0.6281, allocations: 176.3 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.6283, allocations: 315.7 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.6283, allocations: 182.1 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.6284, allocations: 180.2 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.6286, allocations: 109 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.6287, allocations: 184.2 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.6287, allocations: 105 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.6288, allocations: 83.27 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6288, allocations: 0 / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000252/0.6291, allocations: 16 kB / 1.027 GB, free: 8.586 MB / 0.7794 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002826/0.6293, allocations: 202.4 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.6294, allocations: 15.94 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6294, allocations: 0 / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.6294, allocations: 4 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.6299, allocations: 0.5224 MB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.6302, allocations: 221.4 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.6304, allocations: 0.677 MB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.6305, allocations: 7.438 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2.786e-06/0.6305, allocations: 4 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.002162/0.6326, allocations: 0.7489 MB / 1.029 GB, free: 6.121 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches