Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0008079/0.0008079, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009358/0.0009358, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 0.8859/0.8859, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.693/1.693, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 3.938 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.728e-06/1.087e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003685/0.003696, allocations: 3.625 MB / 0.9845 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.003821, allocations: 147.4 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.00384, allocations: 0 / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 9.703e-05/0.003937, allocations: 3.984 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.004002, allocations: 11.88 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.00429, allocations: 95.64 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.004362, allocations: 27.86 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.0044, allocations: 12 kB / 0.9848 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.004446, allocations: 19.91 kB / 0.9848 GB, free: 14.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.004506, allocations: 11.98 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.004518, allocations: 0 / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.004952, allocations: 211.2 kB / 0.985 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.004995, allocations: 11.98 kB / 0.985 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.005014, allocations: 7.984 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.005135, allocations: 63.81 kB / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005137, allocations: 0 / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005138, allocations: 0 / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.005142, allocations: 0 / 0.9851 GB, free: 14.37 MB / 0.948 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.0003504/0.005492, allocations: 258.3 kB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.005527, allocations: 12.03 kB / 0.9853 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.005554, allocations: 34.75 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.00558, allocations: 0.9375 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.00565, allocations: 117.7 kB / 0.9855 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.005702, allocations: 51.97 kB / 0.9855 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.005709, allocations: 384 / 0.9855 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.911e-05/0.005808, allocations: 75.89 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.005817, allocations: 7.875 kB / 0.9856 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.005826, allocations: 3.984 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.005842, allocations: 0 / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.005877, allocations: 12 kB / 0.9856 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.006191, allocations: 228 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.063e-05/0.006222, allocations: 14.58 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.006233, allocations: 8.859 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.006271, allocations: 12.06 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.00629, allocations: 34.5 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.006291, allocations: 0 / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001122/0.006403, allocations: 37.69 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.006426, allocations: 55.34 kB / 0.986 GB, free: 13.26 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.006483, allocations: 109.8 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.006492, allocations: 25.7 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.006527, allocations: 84.09 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.006531, allocations: 4.078 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.006555, allocations: 21.72 kB / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.006625, allocations: 318.8 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.006634, allocations: 0 / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.006654, allocations: 21.66 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.006681, allocations: 25.66 kB / 0.9866 GB, free: 12.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006683, allocations: 0 / 0.9866 GB, free: 12.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.586e-05/0.006729, allocations: 49.62 kB / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.006742, allocations: 8 kB / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006747, allocations: 4.062 kB / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.006757, allocations: 0 / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.488e-05/0.006792, allocations: 7.984 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.006796, allocations: 0 / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.006807, allocations: 4 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.006815, allocations: 4 kB / 0.9866 GB, free: 12.53 MB / 0.948 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.982e-05/0.006865, allocations: 113.8 kB / 0.9868 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.006877, allocations: 0 / 0.9868 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.006962, allocations: 127.9 kB / 0.9869 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/0.007001, allocations: 184.3 kB / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/0.007041, allocations: 180.3 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/0.007079, allocations: 180.2 kB / 0.9874 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.007225, allocations: 380.5 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.007248, allocations: 104.9 kB / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.007272, allocations: 105 kB / 0.988 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.885e-05/0.007311, allocations: 176.3 kB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.007356, allocations: 188.2 kB / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.249e-05/0.007398, allocations: 184.2 kB / 0.9885 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002024/0.007601, allocations: 184.2 kB / 0.9887 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.927e-05/0.0077, allocations: 311.7 kB / 0.989 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.00773, allocations: 109 kB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.007779, allocations: 176.3 kB / 0.9892 GB, free: 9.715 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.007874, allocations: 116.9 kB / 0.9893 GB, free: 9.594 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.007921, allocations: 184.2 kB / 0.9895 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.007945, allocations: 108.9 kB / 0.9896 GB, free: 9.293 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.007977, allocations: 79.28 kB / 0.9897 GB, free: 9.215 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007977, allocations: 0 / 0.9897 GB, free: 9.215 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001725/0.00815, allocations: 19.94 kB / 0.9897 GB, free: 9.195 MB / 0.948 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.0003029/0.008453, allocations: 0.8248 MB / 0.9905 GB, free: 8.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.008517, allocations: 19.92 kB / 0.9905 GB, free: 8.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008519, allocations: 0 / 0.9905 GB, free: 8.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.00852, allocations: 4 kB / 0.9905 GB, free: 8.316 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.00881, allocations: 455.7 kB / 0.991 GB, free: 7.867 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.009558, allocations: 1.324 MB / 0.9923 GB, free: 6.453 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.009603, allocations: 63.33 kB / 0.9923 GB, free: 6.371 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.009636, allocations: 8.125 kB / 0.9923 GB, free: 6.363 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.009658, allocations: 12.44 kB / 0.9923 GB, free: 6.352 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.009658, allocations: 0 / 0.9923 GB, free: 6.352 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.02644, allocations: 2.182 MB / 0.9945 GB, free: 4.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.36/6.386, allocations: 8.359 kB / 0.9945 GB, free: 4.32 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 10.293008010834455]