Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001235/0.001235, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001326/0.001326, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.794/2.794, allocations: 0.49 GB / 0.7923 GB, free: 1.355 MB / 0.6231 GB " [Timeout remaining time 177] 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.002075/0.002075, allocations: 63.91 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8737, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003639/0.8773, allocations: 3.37 MB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 7.47e-05/0.8774, allocations: 55.14 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.8774, allocations: 0 / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.008e-05/0.8775, allocations: 3.281 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.8776, allocations: 18.05 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.878, allocations: 186.8 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.8781, allocations: 37.81 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.8782, allocations: 3.422 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.8782, allocations: 12.25 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.8783, allocations: 24.41 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.8783, allocations: 0 / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.8786, allocations: 184.6 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.8786, allocations: 2.562 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.8786, allocations: 16.28 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.8789, allocations: 134.2 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8789, allocations: 2.5 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8789, allocations: 0 / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.8789, allocations: 0 / 1.325 GB, free: 22.08 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.0003301/0.8792, allocations: 354.2 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.8792, allocations: 14.55 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.162e-05/0.8792, allocations: 192 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.113e-05/0.8793, allocations: 33.84 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.8793, allocations: 3.188 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.384e-05/0.8794, allocations: 160.4 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.8794, allocations: 36.83 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.8794, allocations: 3.938 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.8796, allocations: 42.14 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8796, allocations: 4 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8796, allocations: 0 / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.8796, allocations: 2.25 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.8796, allocations: 22.81 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.8801, allocations: 0.577 MB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.8801, allocations: 25.33 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.187e-05/0.8801, allocations: 8.859 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.8803, allocations: 340.3 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.8803, allocations: 33.53 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.8803, allocations: 0 / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.8804, allocations: 47.02 kB / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.8805, allocations: 55.34 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.603e-05/0.8805, allocations: 102.9 kB / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.8805, allocations: 29.77 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.8806, allocations: 91.16 kB / 1.327 GB, free: 19.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.8806, allocations: 0 / 1.327 GB, free: 19.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.8806, allocations: 16.59 kB / 1.327 GB, free: 19.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.8806, allocations: 321 kB / 1.328 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.8806, allocations: 0 / 1.328 GB, free: 19.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.8807, allocations: 15.5 kB / 1.328 GB, free: 19.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.8807, allocations: 26.98 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8807, allocations: 0 / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.283e-05/0.8808, allocations: 49.28 kB / 1.328 GB, free: 19.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8808, allocations: 5.75 kB / 1.328 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.8808, allocations: 0 / 1.328 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8808, allocations: 3 kB / 1.328 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.153e-05/0.8808, allocations: 2.812 kB / 1.328 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8808, allocations: 3.062 kB / 1.328 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.8809, allocations: 8.016 kB / 1.328 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.8809, allocations: 10.72 kB / 1.328 GB, free: 19.5 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 4.659e-05/0.8809, allocations: 115.3 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.881, allocations: 7 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.881, allocations: 115.8 kB / 1.328 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.8811, allocations: 179.6 kB / 1.328 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/0.8811, allocations: 187.2 kB / 1.328 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.8811, allocations: 180.3 kB / 1.329 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.8812, allocations: 411.7 kB / 1.329 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.8812, allocations: 101 kB / 1.329 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.8813, allocations: 111.4 kB / 1.329 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.66e-05/0.8813, allocations: 180.4 kB / 1.329 GB, free: 17.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.8813, allocations: 184.3 kB / 1.329 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/0.8813, allocations: 183.2 kB / 1.33 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.311e-05/0.8814, allocations: 176.3 kB / 1.33 GB, free: 17.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.28e-05/0.8814, allocations: 310.3 kB / 1.33 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.8815, allocations: 185.1 kB / 1.33 GB, free: 16.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.8815, allocations: 183.6 kB / 1.33 GB, free: 16.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.8816, allocations: 107.7 kB / 1.331 GB, free: 16.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.8817, allocations: 186.8 kB / 1.331 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.8817, allocations: 108.5 kB / 1.331 GB, free: 16.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.8817, allocations: 84.72 kB / 1.331 GB, free: 16.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8817, allocations: 4 kB / 1.331 GB, free: 16.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002681/0.882, allocations: 37.44 kB / 1.331 GB, free: 16.09 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.0003469/0.8823, allocations: 0.8718 MB / 1.332 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.86e-05/0.8824, allocations: 9.812 kB / 1.332 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8824, allocations: 0 / 1.332 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.8824, allocations: 2.969 kB / 1.332 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.8827, allocations: 467.7 kB / 1.332 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.8834, allocations: 1.337 MB / 1.334 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.8835, allocations: 0.6748 MB / 1.334 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.8835, allocations: 9.562 kB / 1.334 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.8835, allocations: 11.44 kB / 1.334 GB, free: 12.75 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.8835, allocations: 0 / 1.334 GB, free: 12.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.9023, allocations: 2.201 MB / 1.336 GB, free: 12.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.845, allocations: 12.11 kB / 1.336 GB, free: 12.28 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 14.9317939140019]