Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009267/0.009267, allocations: 100.2 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 193 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.84 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8173, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004638/0.8219, allocations: 3.294 MB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001004/0.8221, allocations: 55.84 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.8221, allocations: 0 / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.8223, allocations: 11.88 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.8224, allocations: 11.97 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.8229, allocations: 188.6 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.104e-05/0.823, allocations: 39.84 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.8231, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.8231, allocations: 20 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.8232, allocations: 15.91 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.8232, allocations: 0 / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.8236, allocations: 171.6 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.8236, allocations: 8.031 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.8237, allocations: 11.94 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.824, allocations: 138 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.824, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.824, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.824, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 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.0004255/0.8244, allocations: 347.5 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8245, allocations: 8.031 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.8245, allocations: 30.75 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.8245, allocations: 8.844 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.8247, allocations: 164.4 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.8247, allocations: 30.27 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.8247, allocations: 12.06 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.8249, allocations: 37.69 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.8249, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.8249, allocations: 4 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.8249, allocations: 4 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.825, allocations: 19.92 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.8256, allocations: 0.5833 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/0.8257, allocations: 26.52 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.8257, allocations: 4.859 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.8259, allocations: 340.5 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.826, allocations: 38.55 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.826, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.8261, allocations: 33.7 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.8262, allocations: 51.41 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8263, allocations: 113.7 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.8263, allocations: 25.7 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.8264, allocations: 88.17 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.8264, allocations: 7.906 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.8264, allocations: 13.72 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8265, allocations: 322.8 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.8266, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.8266, allocations: 13.72 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.8266, allocations: 29.7 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8266, allocations: 0 / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.414e-05/0.8267, allocations: 45.64 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8267, allocations: 8 kB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8268, allocations: 0 / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8268, allocations: 3.984 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.8268, allocations: 4 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.8268, allocations: 0 / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.8269, allocations: 8 kB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.8269, allocations: 4.062 kB / 1.172 GB, free: 13.06 MB / 0.9044 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 7.282e-05/0.8269, allocations: 113.8 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.827, allocations: 3.938 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.8271, allocations: 121 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/0.8272, allocations: 180.5 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-05/0.8272, allocations: 192.1 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.916e-05/0.8273, allocations: 180.3 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.8275, allocations: 417 kB / 1.173 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/0.8276, allocations: 109 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.8276, allocations: 101 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.373e-05/0.8277, allocations: 184.2 kB / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.8277, allocations: 180.4 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.63e-05/0.8278, allocations: 188.2 kB / 1.174 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-05/0.8279, allocations: 176.3 kB / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.828, allocations: 311.7 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.8281, allocations: 182.1 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.8282, allocations: 184.2 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.8283, allocations: 105 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.8284, allocations: 184.2 kB / 1.175 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.8284, allocations: 105 kB / 1.175 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.8285, allocations: 83.27 kB / 1.175 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8285, allocations: 0 / 1.175 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000295/0.8288, allocations: 43.88 kB / 1.176 GB, free: 9.562 MB / 0.9044 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.0005365/0.8293, allocations: 0.8634 MB / 1.176 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.969e-05/0.8294, allocations: 4 kB / 1.176 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8294, allocations: 4 kB / 1.176 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.8294, allocations: 0 / 1.176 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.8299, allocations: 468.4 kB / 1.177 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.831, allocations: 1.325 MB / 1.178 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.8313, allocations: 0.6768 MB / 1.179 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.825e-05/0.8314, allocations: 12.7 kB / 1.179 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.8314, allocations: 11.44 kB / 1.179 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of SimCode: time 6.91e-07/0.8314, allocations: 0 / 1.179 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.8503, allocations: 2.171 MB / 1.181 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.691, allocations: 6.578 kB / 1.181 GB, free: 4.09 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches