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.001617/0.001617, 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.002131/0.002131, allocations: 220.9 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 33.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.001996/0.001996, allocations: 64.84 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00612/0.3648, allocations: 4.124 MB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.3651, allocations: 171.4 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3651, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.752e-05/0.3652, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.934e-05/0.3653, allocations: 19.91 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3656, allocations: 83.69 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.3657, allocations: 31.91 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.3658, allocations: 7.984 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.3658, allocations: 11.94 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.3659, allocations: 19.91 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.3659, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.3661, allocations: 79.78 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.3662, allocations: 7.984 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.3662, allocations: 11.94 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3664, allocations: 64.12 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3664, allocations: 4 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3664, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3664, allocations: 0 / 1.331 GB, free: 13.29 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.0003918/0.3668, allocations: 263.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3668, allocations: 8.031 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.309e-05/0.3668, allocations: 8.188 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.3668, allocations: 34.73 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3669, allocations: 4.938 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.367, allocations: 110.5 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.3671, allocations: 55.95 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3671, allocations: 7.875 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3672, allocations: 41.69 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3672, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3672, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.3672, allocations: 4 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.3673, allocations: 19.92 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.3677, allocations: 231.9 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.3677, allocations: 18.58 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.3677, allocations: 4.859 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.3678, allocations: 8.062 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3678, allocations: 42.55 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3678, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.368, allocations: 37.59 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.368, allocations: 51.41 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.3681, allocations: 105.8 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3681, allocations: 25.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.3682, allocations: 88.08 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.3682, allocations: 12.06 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.3682, allocations: 17.72 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3684, allocations: 318.8 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3684, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.3684, allocations: 17.72 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.3684, allocations: 21.66 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3684, allocations: 7.984 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.339e-05/0.3685, allocations: 45.64 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3685, allocations: 8 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3685, allocations: 0 / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3685, allocations: 0 / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.3686, allocations: 7.984 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3686, allocations: 4 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.3686, allocations: 3.953 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3686, allocations: 3.938 kB / 1.333 GB, free: 11.46 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 8.26e-05/0.3687, allocations: 118.4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3687, allocations: 0 / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.3689, allocations: 120.9 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/0.369, allocations: 180.3 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-05/0.369, allocations: 180.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/0.3691, allocations: 188.2 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3694, allocations: 380.2 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-05/0.3694, allocations: 104.9 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.3695, allocations: 109 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.061e-05/0.3696, allocations: 176.3 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/0.3696, allocations: 180.2 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.9e-05/0.3697, allocations: 184.3 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.37e-05/0.3698, allocations: 180.2 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.37, allocations: 312 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.3701, allocations: 104.9 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.3702, allocations: 188.3 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3703, allocations: 116.9 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.3704, allocations: 176.3 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.3705, allocations: 101 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.3705, allocations: 91.2 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3705, allocations: 0 / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003507/0.3709, allocations: 23.88 kB / 1.336 GB, free: 8.125 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.0005829/0.3715, allocations: 0.8204 MB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.141e-05/0.3715, allocations: 15.92 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3715, allocations: 0 / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3716, allocations: 4.062 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.3721, allocations: 469.4 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3733, allocations: 1.325 MB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3736, allocations: 0.6729 MB / 1.339 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.561e-05/0.3737, allocations: 4 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.3737, allocations: 15.42 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.3737, allocations: 0 / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3962, allocations: 1.618 MB / 1.341 GB, free: 3.188 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 10.27 kB / 1.341 GB, free: 3.184 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.514989656978287]