Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.187/2.187, allocations: 429.5 MB / 0.6733 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.535e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004854/0.00489, allocations: 4.19 MB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.005039, allocations: 147.5 kB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.005063, allocations: 1.625 kB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.005179, allocations: 7.938 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.005271, allocations: 7.922 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.005609, allocations: 88.81 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.005698, allocations: 36.94 kB / 0.8825 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.005739, allocations: 7.984 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.00579, allocations: 16.62 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.00587, allocations: 15.98 kB / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.005884, allocations: 1.594 kB / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.006053, allocations: 63.69 kB / 0.8826 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.0061, allocations: 7.984 kB / 0.8826 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.006121, allocations: 4 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.006261, allocations: 70.8 kB / 0.8827 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006263, allocations: 0 / 0.8827 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006264, allocations: 3.938 kB / 0.8827 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.006268, allocations: 0 / 0.8827 GB, free: 1.707 MB / 0.8386 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.0003174/0.006585, allocations: 368.6 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.00662, allocations: 8.031 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.00666, allocations: 4.938 kB / 0.883 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.012e-05/0.00674, allocations: 118.1 kB / 0.8832 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.0068, allocations: 51.97 kB / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.006813, allocations: 384 / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.00693, allocations: 76.66 kB / 0.8833 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.006937, allocations: 0.8125 kB / 0.8833 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.006947, allocations: 3.938 kB / 0.8833 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.006971, allocations: 8.891 kB / 0.8833 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.006997, allocations: 7.938 kB / 0.8833 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.00735, allocations: 256.5 kB / 0.8835 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.007386, allocations: 31.06 kB / 0.8836 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.007402, allocations: 11.62 kB / 0.8836 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.007445, allocations: 12.05 kB / 0.8836 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.007466, allocations: 33.39 kB / 0.8836 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.007467, allocations: 3.938 kB / 0.8836 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.007586, allocations: 41.59 kB / 0.8837 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.007611, allocations: 51.41 kB / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.007689, allocations: 161.9 kB / 0.8839 GB, free: 308 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.0077, allocations: 29.7 kB / 0.8839 GB, free: 272 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.00775, allocations: 135 kB / 0.884 GB, free: 132 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.007755, allocations: 7.938 kB / 0.884 GB, free: 124 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.007779, allocations: 23.36 kB / 0.8841 GB, free: 92 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.007906, allocations: 492.1 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.007917, allocations: 8 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/0.007938, allocations: 19.38 kB / 0.8846 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.007969, allocations: 27.3 kB / 0.8846 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00797, allocations: 0 / 0.8846 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.031e-05/0.008021, allocations: 53.59 kB / 0.8846 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008035, allocations: 15.98 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.008039, allocations: 0 / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.00805, allocations: 0 / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.008096, allocations: 8 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008102, allocations: 4 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.008114, allocations: 0 / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.008121, allocations: 0 / 0.8847 GB, free: 15.44 MB / 0.8542 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.638e-05/0.008187, allocations: 160.6 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.008203, allocations: 3.938 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.008314, allocations: 175.7 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.844e-05/0.008382, allocations: 272 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.349e-05/0.008446, allocations: 268.1 kB / 0.8855 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-05/0.008517, allocations: 268 kB / 0.8858 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.00869, allocations: 495.9 kB / 0.8862 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/0.008727, allocations: 148.9 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.008766, allocations: 152.8 kB / 0.8865 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.59e-05/0.008832, allocations: 272.3 kB / 0.8868 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.008899, allocations: 268 kB / 0.887 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.156e-05/0.00896, allocations: 268.1 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.187e-05/0.009032, allocations: 268 kB / 0.8875 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.009167, allocations: 452 kB / 0.888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.009215, allocations: 160.7 kB / 0.8881 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.009292, allocations: 276 kB / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.009395, allocations: 152.8 kB / 0.8885 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.009471, allocations: 272.1 kB / 0.8888 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.009509, allocations: 144.9 kB / 0.8889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.009549, allocations: 123.2 kB / 0.8891 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009549, allocations: 0 / 0.8891 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000166/0.009715, allocations: 15.94 kB / 0.8891 GB, free: 10.73 MB / 0.8542 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.0001542/0.009869, allocations: 246.3 kB / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.042e-05/0.00993, allocations: 15.69 kB / 0.8893 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.009931, allocations: 0 / 0.8893 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.009932, allocations: 0 / 0.8893 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.01029, allocations: 0.7101 MB / 0.89 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.01068, allocations: 241.4 kB / 0.8902 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.01072, allocations: 55.36 kB / 0.8903 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.01074, allocations: 12.31 kB / 0.8903 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.01076, allocations: 8.5 kB / 0.8903 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.01076, allocations: 0 / 0.8903 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of Templates: time 0.002118/0.01288, allocations: 0.6648 MB / 0.891 GB, free: 8.73 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.529299310874194]