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.000843/0.000843, 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.001002/0.001002, allocations: 169.9 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.8494/0.8494, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.646/1.646, allocations: 377.9 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.623e-06/1.623e-06, allocations: 0 / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.021e-05, allocations: 8.891 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004057/0.004077, allocations: 3.629 MB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0001365/0.004214, allocations: 135.5 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.004234, allocations: 0 / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.00434, allocations: 7.922 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.004416, allocations: 15.86 kB / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.004731, allocations: 87.61 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.004809, allocations: 31.86 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.004849, allocations: 8 kB / 0.9847 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.004897, allocations: 15.97 kB / 0.9848 GB, free: 14.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.004964, allocations: 11.98 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.004977, allocations: 3.938 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.005457, allocations: 215.3 kB / 0.985 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.005504, allocations: 7.922 kB / 0.985 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.005527, allocations: 4 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.005653, allocations: 63.86 kB / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005655, allocations: 4 kB / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.005656, allocations: 4 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.005661, allocations: 0 / 0.9851 GB, free: 14.36 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.000322/0.005983, allocations: 265.1 kB / 0.9853 GB, free: 14.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.006021, allocations: 8.031 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.006051, allocations: 34.75 kB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.006081, allocations: 0.9375 kB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.491e-05/0.006156, allocations: 113.7 kB / 0.9855 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.006214, allocations: 55.91 kB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.006221, allocations: 384 / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.006342, allocations: 79.88 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006349, allocations: 7.938 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.006358, allocations: 0 / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.006374, allocations: 0 / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.471e-05/0.006409, allocations: 11.98 kB / 0.9856 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.006727, allocations: 224 kB / 0.9858 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.425e-05/0.006761, allocations: 26.52 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.006775, allocations: 4.859 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.006816, allocations: 12.05 kB / 0.9859 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.006835, allocations: 30.56 kB / 0.9859 GB, free: 13.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.006836, allocations: 0 / 0.9859 GB, free: 13.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001172/0.006953, allocations: 37.7 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.00698, allocations: 51.41 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.007044, allocations: 109.8 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.007055, allocations: 29.7 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.007093, allocations: 88.09 kB / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-06/0.007098, allocations: 7.891 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.00712, allocations: 13.72 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.0072, allocations: 314.8 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.007213, allocations: 8 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.00723, allocations: 13.84 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.007261, allocations: 37.64 kB / 0.9866 GB, free: 12.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007262, allocations: 0 / 0.9866 GB, free: 12.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.316e-05/0.007316, allocations: 45.64 kB / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007328, allocations: 8 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007334, allocations: 3.984 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.007345, allocations: 0 / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.007388, allocations: 8 kB / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.007393, allocations: 0 / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.007407, allocations: 8.062 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.007415, allocations: 0 / 0.9866 GB, free: 12.52 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 5.389e-05/0.007469, allocations: 117.7 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.007482, allocations: 0 / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.007579, allocations: 131.4 kB / 0.9869 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-05/0.007618, allocations: 176.3 kB / 0.9871 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-05/0.007659, allocations: 184.2 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-05/0.007699, allocations: 176.3 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.007848, allocations: 384.2 kB / 0.9878 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.007872, allocations: 105 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.007896, allocations: 101 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.344e-05/0.00794, allocations: 188.2 kB / 0.9881 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.007982, allocations: 176.3 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.343e-05/0.008025, allocations: 192.1 kB / 0.9885 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-05/0.008064, allocations: 176.3 kB / 0.9887 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.008162, allocations: 307.7 kB / 0.989 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.008191, allocations: 105 kB / 0.9891 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.008241, allocations: 184.2 kB / 0.9892 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.008338, allocations: 113 kB / 0.9893 GB, free: 9.586 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.008379, allocations: 176.3 kB / 0.9895 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.008403, allocations: 112.9 kB / 0.9896 GB, free: 9.289 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.008439, allocations: 87.27 kB / 0.9897 GB, free: 9.203 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008439, allocations: 0 / 0.9897 GB, free: 9.203 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000175/0.008614, allocations: 15.94 kB / 0.9897 GB, free: 9.188 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.0003468/0.008961, allocations: 0.8209 MB / 0.9905 GB, free: 8.336 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.008e-05/0.009021, allocations: 15.92 kB / 0.9905 GB, free: 8.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009022, allocations: 0 / 0.9905 GB, free: 8.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.009026, 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.0003297/0.009356, allocations: 459.8 kB / 0.991 GB, free: 7.863 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.01009, allocations: 1.34 MB / 0.9923 GB, free: 6.434 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.01013, allocations: 55.36 kB / 0.9923 GB, free: 6.359 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.01017, allocations: 4 kB / 0.9923 GB, free: 6.355 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.01019, allocations: 12.48 kB / 0.9923 GB, free: 6.344 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01019, allocations: 0 / 0.9923 GB, free: 6.344 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.02613, allocations: 2.184 MB / 0.9945 GB, free: 4.312 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/6.506, allocations: 8.203 kB / 0.9945 GB, free: 4.309 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.48173319734633]