Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.946/2.946, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.02 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3146, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005463/0.32, allocations: 4.062 MB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.3202, allocations: 159.5 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.3202, allocations: 3.938 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.3203, allocations: 3.938 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.3204, allocations: 23.92 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.3207, allocations: 75.75 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.3208, allocations: 35.84 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.3209, allocations: 0 / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.3209, allocations: 19.92 kB / 1.312 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.321, allocations: 11.98 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.321, allocations: 4 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3212, allocations: 55.81 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.3212, allocations: 15.97 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.3212, allocations: 15.88 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3214, allocations: 47.83 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3214, allocations: 0 / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3214, allocations: 0 / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3214, allocations: 0 / 1.312 GB, free: 13.29 MB / 1.014 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.0003579/0.3217, allocations: 254.3 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3218, allocations: 8.922 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3218, allocations: 8.938 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.3219, allocations: 110.5 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.322, allocations: 30.27 kB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.322, allocations: 384 / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3221, allocations: 45.62 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3221, allocations: 0 / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3221, allocations: 0 / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.3221, allocations: 4 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.3222, allocations: 19.92 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3226, allocations: 232 kB / 1.312 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.3226, allocations: 14.58 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.3226, allocations: 8.922 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.3227, allocations: 4 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3227, allocations: 34.56 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.3227, allocations: 8 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.3228, allocations: 41.62 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3229, allocations: 51.41 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.3229, allocations: 109.8 kB / 1.313 GB, free: 12.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.323, allocations: 25.7 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.323, allocations: 88.08 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.323, allocations: 3.953 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.3231, allocations: 17.72 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3232, allocations: 322.9 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.3232, allocations: 3.984 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.3232, allocations: 17.66 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/0.3233, allocations: 25.66 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3233, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.53e-05/0.3233, allocations: 57.59 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3233, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3234, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.3234, allocations: 0 / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.3234, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3234, allocations: 3.984 kB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.3234, allocations: 4 kB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3234, allocations: 0 / 1.313 GB, free: 11.56 MB / 1.014 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 7.651e-05/0.3235, allocations: 114.5 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3235, allocations: 4.031 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.3237, allocations: 128.9 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/0.3237, allocations: 176.3 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.262e-05/0.3238, allocations: 176.3 kB / 1.314 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.155e-05/0.3239, allocations: 180.2 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.3241, allocations: 388.2 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.159e-05/0.3242, allocations: 104.9 kB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.3242, allocations: 105 kB / 1.314 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.432e-05/0.3243, allocations: 184.2 kB / 1.315 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.3244, allocations: 180.2 kB / 1.315 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.944e-05/0.3244, allocations: 180.3 kB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-05/0.3245, allocations: 188.2 kB / 1.315 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.3247, allocations: 307.8 kB / 1.315 GB, free: 9.035 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.3247, allocations: 104.9 kB / 1.316 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.3248, allocations: 180.3 kB / 1.316 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3249, allocations: 112.9 kB / 1.316 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.325, allocations: 184.3 kB / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.3251, allocations: 101 kB / 1.316 GB, free: 8.332 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.3251, allocations: 83.28 kB / 1.316 GB, free: 8.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3251, allocations: 3.938 kB / 1.316 GB, free: 8.246 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002671/0.3254, allocations: 19.92 kB / 1.316 GB, free: 8.227 MB / 1.014 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.000241/0.3256, allocations: 202.4 kB / 1.316 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.3257, allocations: 15.98 kB / 1.316 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3257, allocations: 0 / 1.316 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3257, allocations: 0 / 1.316 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.3261, allocations: 460.6 kB / 1.317 GB, free: 7.551 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.3264, allocations: 178.3 kB / 1.317 GB, free: 7.352 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3267, allocations: 0.6729 MB / 1.318 GB, free: 6.652 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.3267, allocations: 11.92 kB / 1.318 GB, free: 6.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.3267, allocations: 11.44 kB / 1.318 GB, free: 6.629 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3267, allocations: 0 / 1.318 GB, free: 6.629 MB / 1.014 GB Notification: Performance of Templates: time 0.002897/0.3296, allocations: 0.6511 MB / 1.318 GB, free: 5.984 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.137921436689794]