Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.002042/0.002042, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002038/0.002038, allocations: 221.6 kB / 23.03 MB, free: 4.945 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.264/3.264, allocations: 0.49 GB / 0.7959 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",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.002866/0.002866, allocations: 69.78 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.424, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1682/0.5922, allocations: 118.9 MB / 1.443 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0002565/0.5925, allocations: 55.81 kB / 1.443 GB, free: 10.1 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.5925, allocations: 0 / 1.443 GB, free: 10.1 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.5927, allocations: 7.984 kB / 1.443 GB, free: 10.09 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.5928, allocations: 11.92 kB / 1.443 GB, free: 10.08 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.594, allocations: 243 kB / 1.443 GB, free: 9.844 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.5941, allocations: 35.86 kB / 1.443 GB, free: 9.809 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.5942, allocations: 4 kB / 1.443 GB, free: 9.805 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.5942, allocations: 15.98 kB / 1.443 GB, free: 9.789 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.5944, allocations: 15.92 kB / 1.443 GB, free: 9.773 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.5944, allocations: 0 / 1.443 GB, free: 9.773 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.5949, allocations: 183.5 kB / 1.443 GB, free: 9.594 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.595, allocations: 0 / 1.443 GB, free: 9.594 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.595, allocations: 11.98 kB / 1.443 GB, free: 9.582 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.5955, allocations: 171.8 kB / 1.443 GB, free: 9.414 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5955, allocations: 3.938 kB / 1.443 GB, free: 9.41 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5955, allocations: 0 / 1.443 GB, free: 9.41 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5955, allocations: 4 kB / 1.443 GB, free: 9.406 MB / 1.139 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.0005442/0.5961, allocations: 286 kB / 1.444 GB, free: 9.098 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.5961, allocations: 12.03 kB / 1.444 GB, free: 9.086 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.567e-05/0.5962, allocations: 192 / 1.444 GB, free: 9.086 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.5962, allocations: 34.75 kB / 1.444 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.5963, allocations: 8.875 kB / 1.444 GB, free: 9.035 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5964, allocations: 102.5 kB / 1.444 GB, free: 8.91 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.5965, allocations: 59.53 kB / 1.444 GB, free: 8.84 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.5965, allocations: 0 / 1.444 GB, free: 8.84 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.5967, allocations: 75.31 kB / 1.444 GB, free: 8.754 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5968, allocations: 4 kB / 1.444 GB, free: 8.75 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.5968, allocations: 0 / 1.444 GB, free: 8.75 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.5968, allocations: 4 kB / 1.444 GB, free: 8.746 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.5969, allocations: 11.98 kB / 1.444 GB, free: 8.734 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.5977, allocations: 279.9 kB / 1.444 GB, free: 8.418 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.5978, allocations: 22.52 kB / 1.444 GB, free: 8.387 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.5978, allocations: 4.859 kB / 1.444 GB, free: 8.379 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.437e-05/0.5979, allocations: 32.03 kB / 1.444 GB, free: 8.348 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.5979, allocations: 34.56 kB / 1.444 GB, free: 8.305 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.5979, allocations: 4 kB / 1.444 GB, free: 8.301 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.5981, allocations: 29.7 kB / 1.444 GB, free: 8.266 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.5981, allocations: 51.41 kB / 1.444 GB, free: 8.203 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.5982, allocations: 113.7 kB / 1.445 GB, free: 8.082 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.5983, allocations: 25.7 kB / 1.445 GB, free: 8.051 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.5983, allocations: 84.09 kB / 1.445 GB, free: 7.965 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.5983, allocations: 7.938 kB / 1.445 GB, free: 7.957 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.5984, allocations: 25.64 kB / 1.445 GB, free: 7.926 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5985, allocations: 310.8 kB / 1.445 GB, free: 7.613 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.5985, allocations: 4.125 kB / 1.445 GB, free: 7.609 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.5985, allocations: 21.72 kB / 1.445 GB, free: 7.582 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.474e-05/0.5986, allocations: 17.7 kB / 1.445 GB, free: 7.559 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5986, allocations: 4 kB / 1.445 GB, free: 7.555 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.178e-05/0.5987, allocations: 53.62 kB / 1.445 GB, free: 7.496 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5987, allocations: 4 kB / 1.445 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5987, allocations: 0 / 1.445 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5987, allocations: 0 / 1.445 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.5988, allocations: 8 kB / 1.445 GB, free: 7.484 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.5988, allocations: 4.062 kB / 1.445 GB, free: 7.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.5988, allocations: 12.11 kB / 1.445 GB, free: 7.469 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5988, allocations: 4 kB / 1.445 GB, free: 7.465 MB / 1.139 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 8.728e-05/0.5989, allocations: 114.3 kB / 1.445 GB, free: 7.344 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.5989, allocations: 0 / 1.445 GB, free: 7.344 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.599, allocations: 124.9 kB / 1.445 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-05/0.5991, allocations: 184.3 kB / 1.446 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.494e-05/0.5992, allocations: 180.2 kB / 1.446 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.89e-05/0.5993, allocations: 184.2 kB / 1.446 GB, free: 6.652 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.5996, allocations: 380.2 kB / 1.446 GB, free: 6.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.969e-05/0.5996, allocations: 105 kB / 1.446 GB, free: 6.121 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.5997, allocations: 109 kB / 1.446 GB, free: 6.008 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.625e-05/0.5998, allocations: 180.2 kB / 1.447 GB, free: 5.824 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.5999, allocations: 180.3 kB / 1.447 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.908e-05/0.6, allocations: 180.4 kB / 1.447 GB, free: 5.457 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.299e-05/0.6001, allocations: 176.3 kB / 1.447 GB, free: 5.277 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.6003, allocations: 319.7 kB / 1.447 GB, free: 4.941 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.6003, allocations: 101 kB / 1.448 GB, free: 4.836 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6004, allocations: 188.2 kB / 1.448 GB, free: 4.645 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.6006, allocations: 109 kB / 1.448 GB, free: 4.531 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.6007, allocations: 184.2 kB / 1.448 GB, free: 4.344 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.6008, allocations: 104.9 kB / 1.448 GB, free: 4.234 MB / 1.139 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.6008, allocations: 87.27 kB / 1.448 GB, free: 4.148 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.6008, allocations: 0 / 1.448 GB, free: 4.148 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003876/0.6012, allocations: 55.75 kB / 1.448 GB, free: 4.094 MB / 1.139 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.0008287/0.6021, allocations: 0.8867 MB / 1.449 GB, free: 3.176 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.871e-05/0.6021, allocations: 15.94 kB / 1.449 GB, free: 3.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6022, allocations: 0 / 1.449 GB, free: 3.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.6022, allocations: 0 / 1.449 GB, free: 3.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.6026, allocations: 461.7 kB / 1.45 GB, free: 2.707 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.6039, allocations: 1.348 MB / 1.451 GB, free: 1.273 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.062e-05/0.604, allocations: 63.47 kB / 1.451 GB, free: 1.191 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.604, allocations: 7.938 kB / 1.451 GB, free: 1.184 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.6041, allocations: 11.44 kB / 1.451 GB, free: 1.172 MB / 1.139 GB Notification: Performance of SimCode: time 8.72e-07/0.6041, allocations: 0 / 1.451 GB, free: 1.172 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.6275, allocations: 2.417 MB / 1.453 GB, free: 14.9 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.15, allocations: 4.062 kB / 1.453 GB, free: 14.89 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.355509617947973]