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.001277/0.001277, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00146/0.00146, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3/3, 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.001988/0.001988, allocations: 68.48 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3083, 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.005361/0.3137, allocations: 3.902 MB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002095/0.3139, allocations: 139.6 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.3139, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.519e-05/0.314, allocations: 3.984 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.3141, allocations: 15.92 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.3144, allocations: 83.67 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.3145, allocations: 31.92 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.3146, allocations: 3.984 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.29e-05/0.3146, allocations: 23.86 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.3147, allocations: 15.98 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.3147, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.3149, allocations: 47.81 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.3149, allocations: 11.98 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3149, allocations: 11.92 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3151, allocations: 56.16 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3151, allocations: 0 / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3151, allocations: 0 / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3151, allocations: 0 / 1.368 GB, free: 9.754 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.0003775/0.3155, allocations: 270.2 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3155, allocations: 12.03 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.3155, allocations: 30.75 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.3156, allocations: 4.938 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.326e-05/0.3157, allocations: 106.5 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.3157, allocations: 59.97 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3158, allocations: 8.125 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3159, allocations: 63.39 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3159, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3159, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.3159, allocations: 7.984 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.316, allocations: 19.94 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.3164, allocations: 235.9 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.3164, allocations: 18.58 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.3164, allocations: 4.859 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.3165, allocations: 4.062 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3165, allocations: 38.56 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3165, allocations: 0 / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.3166, allocations: 37.62 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3167, allocations: 51.41 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.3168, allocations: 110 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3168, allocations: 29.64 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3168, allocations: 88.09 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.3168, allocations: 3.953 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.3169, allocations: 17.72 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.317, allocations: 314.8 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.317, allocations: 7.984 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.3171, allocations: 21.89 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.3171, allocations: 21.66 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3171, allocations: 4 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.399e-05/0.3172, allocations: 45.69 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3172, allocations: 4 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3172, allocations: 0 / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3172, allocations: 7.938 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.549e-05/0.3173, allocations: 11.92 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3173, allocations: 0 / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.3173, allocations: 0 / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3173, allocations: 4 kB / 1.369 GB, free: 7.902 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 9.265e-05/0.3174, allocations: 117.8 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3174, allocations: 4 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.3175, allocations: 124.9 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-05/0.3176, allocations: 180.2 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.594e-05/0.3177, allocations: 176.3 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.244e-05/0.3178, allocations: 188.2 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3181, allocations: 376.2 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-05/0.3182, allocations: 101 kB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.3182, allocations: 108.9 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.038e-05/0.3183, allocations: 184.3 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.3184, allocations: 188.2 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.546e-05/0.3185, allocations: 176.3 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.322e-05/0.3186, allocations: 188.2 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3188, allocations: 303.8 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.3188, allocations: 108.9 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.3189, allocations: 184.3 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3191, allocations: 108.9 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.3191, allocations: 184.2 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.3192, allocations: 101 kB / 1.372 GB, free: 4.676 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.3193, allocations: 83.28 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3193, allocations: 4 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002838/0.3195, 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.0004785/0.32, allocations: 0.8243 MB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.3201, allocations: 11.94 kB / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3201, allocations: 0 / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.3201, allocations: 3.938 kB / 1.373 GB, free: 3.699 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.3206, allocations: 465.4 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.001111/0.3217, allocations: 1.333 MB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.3217, allocations: 59.34 kB / 1.375 GB, free: 1.746 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.3218, allocations: 4 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.3218, allocations: 11.44 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3218, allocations: 0 / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.3495, allocations: 2.034 MB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.61, allocations: 13 kB / 1.377 GB, free: 15.82 MB / 1.076 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.83288183901459]