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.001461/0.001461, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001659/0.001659, allocations: 214 kB / 22.25 MB, free: 5.258 MB / 14.72 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 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.924/2.924, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 65.28 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2867, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.0051/0.2918, allocations: 3.902 MB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001949/0.292, allocations: 143.6 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.292, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.88e-05/0.2921, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.2921, allocations: 19.84 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2925, allocations: 90.17 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.415e-05/0.2925, allocations: 39.91 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.012e-05/0.2926, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.2926, allocations: 15.88 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.2927, allocations: 15.97 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2927, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2928, allocations: 55.81 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.2929, allocations: 0 / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.2929, allocations: 19.91 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.293, allocations: 56.16 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.293, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.293, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.293, allocations: 4 kB / 1.368 GB, free: 9.742 MB / 1.061 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.0003403/0.2934, allocations: 262.3 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2934, allocations: 11.97 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.2935, allocations: 30.75 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.2935, allocations: 8.922 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.2936, allocations: 106.5 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.2936, allocations: 55.97 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.2937, allocations: 4.125 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2938, allocations: 67.39 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2938, allocations: 4 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2938, allocations: 4 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.2938, allocations: 0 / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.2939, allocations: 19.92 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.2942, allocations: 231.9 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.134e-05/0.2943, allocations: 22.61 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.2943, allocations: 4.859 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.2943, allocations: 4.062 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2944, allocations: 38.56 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2944, allocations: 0 / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001299/0.2945, allocations: 45.62 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2945, allocations: 55.41 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.2946, allocations: 93.86 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2946, allocations: 29.7 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.2947, allocations: 92.08 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.2947, allocations: 3.953 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.2947, allocations: 13.72 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2949, allocations: 318.8 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.2949, allocations: 4 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.2949, allocations: 17.89 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.295, allocations: 33.72 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.295, allocations: 0 / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.141e-05/0.295, allocations: 45.69 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.295, allocations: 4 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.295, allocations: 0 / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.2951, allocations: 4.094 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.183e-05/0.2951, allocations: 15.86 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2951, allocations: 0 / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.2951, allocations: 4.062 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2951, allocations: 7.984 kB / 1.369 GB, free: 7.891 MB / 1.061 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.035e-05/0.2952, allocations: 109.8 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.2952, allocations: 4 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2953, allocations: 121 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/0.2954, allocations: 184.2 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.84e-05/0.2955, allocations: 176.3 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.277e-05/0.2956, allocations: 184.2 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.2958, allocations: 380.2 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/0.2958, allocations: 105 kB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.2959, allocations: 104.9 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.445e-05/0.2959, allocations: 188.3 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.296, allocations: 180.2 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-05/0.2961, allocations: 176.3 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.329e-05/0.2962, allocations: 188.2 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2963, allocations: 303.8 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.2964, allocations: 108.9 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.448e-05/0.2965, allocations: 180.2 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2966, allocations: 105 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.2967, allocations: 180.2 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.2967, allocations: 109 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.2968, allocations: 91.27 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.2968, allocations: 0 / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002417/0.297, allocations: 19.88 kB / 1.372 GB, free: 4.57 MB / 1.061 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.0004624/0.2975, allocations: 0.8243 MB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.874e-05/0.2975, allocations: 8 kB / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2975, allocations: 0 / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.2975, allocations: 3.938 kB / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.298, allocations: 467.8 kB / 1.374 GB, free: 3.242 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.299, allocations: 1.332 MB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.232e-05/0.2991, allocations: 63.34 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.2991, allocations: 7.938 kB / 1.375 GB, free: 1.734 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.2991, allocations: 7.438 kB / 1.375 GB, free: 1.727 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.2991, allocations: 0 / 1.375 GB, free: 1.727 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.325, allocations: 2.028 MB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.35, allocations: 15.06 kB / 1.377 GB, free: 15.82 MB / 1.076 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.29621401289478]