Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001643/0.001643, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001968/0.001968, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.002097/0.002097, allocations: 62.47 kB / 1.118 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006066/0.3649, allocations: 4.127 MB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002289/0.3651, allocations: 155.5 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.3652, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.821e-05/0.3653, allocations: 3.938 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.3653, allocations: 7.984 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.3657, allocations: 95.19 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.3658, allocations: 35.84 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.3658, allocations: 7.984 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.3658, allocations: 11.98 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.3659, allocations: 19.92 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.3659, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3661, allocations: 79.78 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.3662, allocations: 11.97 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.3662, allocations: 11.94 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3664, allocations: 63.44 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3664, allocations: 7.938 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3664, allocations: 3.938 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3664, allocations: 0 / 1.289 GB, free: 6.957 MB / 0.9825 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.0003756/0.3667, allocations: 260.7 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3668, allocations: 8.031 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.55e-05/0.3668, allocations: 4.188 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.3668, allocations: 38.73 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.3669, allocations: 4.875 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.367, allocations: 114.5 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.502e-05/0.3671, allocations: 51.97 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3671, allocations: 7.922 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3672, allocations: 45.69 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3672, allocations: 0 / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3672, allocations: 0 / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.3673, allocations: 4 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.3673, allocations: 15.92 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.3678, allocations: 232 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.3679, allocations: 18.58 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.3679, allocations: 8.859 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.794e-05/0.368, allocations: 8.062 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.368, allocations: 34.55 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.368, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.3682, allocations: 41.59 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3682, allocations: 55.41 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.3683, allocations: 105.8 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3683, allocations: 25.7 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.3684, allocations: 84.09 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.3684, allocations: 8 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3684, allocations: 13.72 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3686, allocations: 322.9 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.3686, allocations: 0 / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.3686, allocations: 17.72 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.3687, allocations: 29.64 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3687, allocations: 0 / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.978e-05/0.3687, allocations: 41.64 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3688, allocations: 12.06 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3688, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3688, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.3688, allocations: 7.984 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3688, allocations: 4 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.3689, allocations: 7.953 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3689, allocations: 3.938 kB / 1.29 GB, free: 5.141 MB / 0.9825 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.199e-05/0.369, allocations: 109.8 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.369, allocations: 7.875 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.3691, allocations: 128.9 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-05/0.3692, allocations: 176.3 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-05/0.3693, allocations: 176.3 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/0.3694, allocations: 184.2 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3697, allocations: 380.2 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/0.3697, allocations: 108.9 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.3698, allocations: 105 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.18e-05/0.3699, allocations: 176.3 kB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.135e-05/0.37, allocations: 184.2 kB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.747e-05/0.37, allocations: 180.3 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.144e-05/0.3701, allocations: 188.2 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3703, allocations: 303.8 kB / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.3704, allocations: 109.2 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3705, allocations: 180.3 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.3706, allocations: 116.9 kB / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.3707, allocations: 184.2 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.3708, allocations: 101 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.011e-05/0.3709, allocations: 95.14 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3709, allocations: 0 / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002751/0.3711, allocations: 19.94 kB / 1.293 GB, free: 1.801 MB / 0.9825 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.0005773/0.3717, allocations: 0.8243 MB / 1.294 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.877e-05/0.3718, allocations: 11.94 kB / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3718, allocations: 0 / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3718, allocations: 0 / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.3724, allocations: 463.8 kB / 1.295 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3737, allocations: 1.325 MB / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.374, allocations: 0.669 MB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.04e-05/0.3741, allocations: 12 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.3741, allocations: 11.42 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.3741, allocations: 0 / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3965, allocations: 1.63 MB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.91, allocations: 6.172 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.66804440098349]