Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001312/0.001312, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00147/0.00147, allocations: 217.7 kB / 22.25 MB, free: 4.852 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.812 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.271/3.271, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.002964/0.002964, allocations: 67.77 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.397, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00709/0.4041, allocations: 3.904 MB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.4044, allocations: 151.5 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.4044, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.4045, allocations: 3.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.4046, allocations: 23.91 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.405, allocations: 75.75 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.4051, allocations: 35.86 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.4052, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.4052, allocations: 15.97 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.4053, allocations: 19.92 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.4054, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.4056, allocations: 47.81 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.4057, allocations: 7.984 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.4057, allocations: 8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.4059, allocations: 68.02 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4059, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.055e-06/0.4059, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4059, allocations: 0 / 1.329 GB, free: 13.98 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.000527/0.4064, allocations: 266.3 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4065, allocations: 8.031 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.4066, allocations: 38.75 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.4066, allocations: 4.938 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.4067, allocations: 102.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.793e-05/0.4068, allocations: 55.97 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.4068, allocations: 4.125 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.407, allocations: 75.31 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.407, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.407, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.4071, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.4071, allocations: 15.98 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.4077, allocations: 235.9 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/0.4077, allocations: 18.58 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.4077, allocations: 8.797 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.4078, allocations: 4.062 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.4078, allocations: 38.55 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.4078, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.408, allocations: 37.66 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4081, allocations: 55.34 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4082, allocations: 105.8 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.4082, allocations: 25.83 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.4083, allocations: 92.09 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/0.4083, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.4083, allocations: 17.72 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4085, allocations: 318.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.4085, allocations: 7.938 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.4085, allocations: 13.72 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.4086, allocations: 21.7 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4086, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.293e-05/0.4087, allocations: 53.59 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4087, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4087, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4087, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.4087, allocations: 7.984 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4088, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.4088, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4088, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 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 9.737e-05/0.4089, allocations: 114.3 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4089, allocations: 4.281 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.4091, allocations: 125 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.575e-05/0.4091, allocations: 180.2 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-05/0.4092, allocations: 180.2 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.672e-05/0.4093, allocations: 184.3 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.4096, allocations: 376.2 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-05/0.4096, allocations: 104.9 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.4097, allocations: 105 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.4098, allocations: 188.2 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.542e-05/0.4099, allocations: 180.3 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.861e-05/0.41, allocations: 184.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.59e-05/0.4101, allocations: 184.3 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.4103, allocations: 311.7 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.4103, allocations: 104.9 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4104, allocations: 184.2 kB / 1.333 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.4106, allocations: 112.9 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4107, allocations: 184.2 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.4108, allocations: 104.9 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.4108, allocations: 83.28 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4108, allocations: 0 / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002853/0.4111, allocations: 23.86 kB / 1.334 GB, free: 8.793 MB / 1.029 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.0006203/0.4117, allocations: 0.8243 MB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.4118, allocations: 15.92 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4118, allocations: 0 / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.4118, allocations: 4 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.4124, allocations: 459 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.4137, allocations: 1.325 MB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.878e-05/0.4138, allocations: 67.41 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.797e-05/0.4138, allocations: 4 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.4139, allocations: 7.438 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4139, allocations: 0 / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.4501, allocations: 2.032 MB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.74, allocations: 12.27 kB / 1.339 GB, free: 4.055 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.704582393635064]