Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001174/0.001174, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001142/0.001142, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.332/2.332, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.89 kB / 1.059 GB, free: 1.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2747, allocations: 160.7 MB / 1.216 GB, free: 16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6514/0.9261, allocations: 135.8 MB / 1.348 GB, free: 1.309 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.9262, allocations: 54.36 kB / 1.348 GB, free: 1.277 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.9263, allocations: 0 / 1.348 GB, free: 1.277 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.567e-05/0.9264, allocations: 10.41 kB / 1.348 GB, free: 1.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.9264, allocations: 6.859 kB / 1.348 GB, free: 1.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.9272, allocations: 244.4 kB / 1.348 GB, free: 1.148 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.9272, allocations: 36.36 kB / 1.348 GB, free: 1.133 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.9273, allocations: 2.859 kB / 1.348 GB, free: 1.133 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.9273, allocations: 12.53 kB / 1.348 GB, free: 1.133 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.9274, allocations: 21.03 kB / 1.349 GB, free: 1.121 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.9274, allocations: 1 kB / 1.349 GB, free: 1.121 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.9278, allocations: 256 kB / 1.349 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.9279, allocations: 3.922 kB / 1.349 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.9279, allocations: 6.312 kB / 1.349 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.9282, allocations: 188.3 kB / 1.349 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.9282, allocations: 0.9375 kB / 1.349 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9282, allocations: 0 / 1.349 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.9282, allocations: 0 / 1.349 GB, free: 0.9727 MB / 1.029 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.000397/0.9286, allocations: 366 kB / 1.349 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.9286, allocations: 10.33 kB / 1.349 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.9287, allocations: 36.64 kB / 1.349 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.9287, allocations: 2.062 kB / 1.349 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.9288, allocations: 164.4 kB / 1.349 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.9289, allocations: 31.77 kB / 1.35 GB, free: 328 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.9289, allocations: 9.938 kB / 1.35 GB, free: 320 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.929, allocations: 42.94 kB / 1.35 GB, free: 284 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.929, allocations: 1.031 kB / 1.35 GB, free: 284 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.929, allocations: 0 / 1.35 GB, free: 284 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.929, allocations: 1.859 kB / 1.35 GB, free: 284 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.9291, allocations: 17.17 kB / 1.35 GB, free: 280 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007132/0.9298, allocations: 0.607 MB / 1.35 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.9298, allocations: 25.34 kB / 1.35 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.9298, allocations: 6.484 kB / 1.35 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.9301, allocations: 333.5 kB / 1.351 GB, free: 15.19 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.9301, allocations: 37.89 kB / 1.351 GB, free: 15.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.9301, allocations: 0 / 1.351 GB, free: 15.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.9302, allocations: 37.5 kB / 1.351 GB, free: 15.11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.9302, allocations: 55.34 kB / 1.351 GB, free: 15.04 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.9303, allocations: 103.1 kB / 1.351 GB, free: 14.94 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.9303, allocations: 26.27 kB / 1.351 GB, free: 14.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.9304, allocations: 85.83 kB / 1.351 GB, free: 14.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.9304, allocations: 6.109 kB / 1.351 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.9304, allocations: 18.28 kB / 1.351 GB, free: 14.8 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9305, allocations: 317.1 kB / 1.351 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.9306, allocations: 4.344 kB / 1.351 GB, free: 14.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.9306, allocations: 15.09 kB / 1.351 GB, free: 14.47 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.9306, allocations: 21.42 kB / 1.351 GB, free: 14.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.9306, allocations: 4 kB / 1.351 GB, free: 14.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.813e-05/0.9307, allocations: 54.75 kB / 1.351 GB, free: 14.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.9307, allocations: 7.375 kB / 1.351 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.9307, allocations: 1.109 kB / 1.351 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.9307, allocations: 5.203 kB / 1.351 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.9308, allocations: 6.016 kB / 1.351 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.9308, allocations: 1.125 kB / 1.351 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.9308, allocations: 2.312 kB / 1.351 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.9308, allocations: 6.719 kB / 1.351 GB, free: 14.39 MB / 1.045 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.854e-05/0.9309, allocations: 121 kB / 1.351 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.9309, allocations: 5.5 kB / 1.351 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.931, allocations: 115.5 kB / 1.352 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.587e-05/0.9311, allocations: 180.8 kB / 1.352 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.362e-05/0.9312, allocations: 178.7 kB / 1.352 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.453e-05/0.9312, allocations: 190.1 kB / 1.352 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.9315, allocations: 408.5 kB / 1.352 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/0.9315, allocations: 103 kB / 1.353 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.9316, allocations: 108.1 kB / 1.353 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.25e-05/0.9316, allocations: 180.9 kB / 1.353 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/0.9317, allocations: 177.8 kB / 1.353 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-05/0.9318, allocations: 185.8 kB / 1.353 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.534e-05/0.9318, allocations: 178.1 kB / 1.353 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.932, allocations: 311 kB / 1.354 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.9321, allocations: 188.6 kB / 1.354 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.9322, allocations: 190.1 kB / 1.354 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.9323, allocations: 113 kB / 1.354 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.9324, allocations: 182.1 kB / 1.354 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.9324, allocations: 107 kB / 1.354 GB, free: 11.08 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.9325, allocations: 85.81 kB / 1.354 GB, free: 11 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.9325, allocations: 0 / 1.354 GB, free: 11 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002801/0.9328, allocations: 55.91 kB / 1.355 GB, free: 10.98 MB / 1.045 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.0005908/0.9334, allocations: 0.8848 MB / 1.355 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.742e-05/0.9334, allocations: 7.891 kB / 1.355 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9334, allocations: 0 / 1.355 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.9334, allocations: 1.094 kB / 1.355 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.9338, allocations: 459.9 kB / 1.356 GB, free: 9.695 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.9349, allocations: 1.347 MB / 1.357 GB, free: 8.348 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.9352, allocations: 0.6741 MB / 1.358 GB, free: 7.652 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.9352, allocations: 7.016 kB / 1.358 GB, free: 7.652 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.9352, allocations: 13.33 kB / 1.358 GB, free: 7.641 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/0.9352, allocations: 5.125 kB / 1.358 GB, free: 7.637 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.9599, allocations: 2.183 MB / 1.36 GB, free: 7.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/7.869, allocations: 17.14 kB / 1.36 GB, free: 7.156 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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: 13.039640344999498]