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.003854/0.003854, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001099/0.001099, allocations: 199 kB / 16.68 MB, free: 5.969 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.384/2.384, allocations: 437.1 MB / 0.7106 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2405, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00411/0.2446, allocations: 3.293 MB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 8.017e-05/0.2447, allocations: 55.73 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.2447, allocations: 4 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.411e-05/0.2448, allocations: 4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.2449, allocations: 11.91 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.2453, allocations: 186.7 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.2454, allocations: 35.84 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.2455, allocations: 11.92 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.2455, allocations: 8 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.2455, allocations: 15.97 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.2456, allocations: 0 / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.2459, allocations: 175.6 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.2459, allocations: 8 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.2459, allocations: 11.92 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.2462, allocations: 135.9 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2462, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2462, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2462, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 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.0003562/0.2466, allocations: 347.4 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.2466, allocations: 12.03 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.2467, allocations: 30.75 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.2467, allocations: 4.938 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2468, allocations: 168.3 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.2469, allocations: 30.25 kB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.2469, allocations: 4.125 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.247, allocations: 49.62 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.247, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.247, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.247, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.2471, allocations: 15.98 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.2476, allocations: 0.5911 MB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.117e-05/0.2477, allocations: 14.58 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.2477, allocations: 8.922 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.2479, allocations: 344.3 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.248, allocations: 34.5 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.248, allocations: 4 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.2481, allocations: 37.69 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.2481, allocations: 51.41 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.2482, allocations: 109.8 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2482, allocations: 25.7 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.2483, allocations: 84.09 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-06/0.2483, allocations: 4 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.2483, allocations: 17.67 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2485, allocations: 326.8 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.2485, allocations: 7.984 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.2485, allocations: 21.66 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.2485, allocations: 21.72 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2485, allocations: 0 / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.356e-05/0.2486, allocations: 49.62 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.2486, allocations: 6.188 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2486, allocations: 4 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.2487, allocations: 0 / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.426e-05/0.2487, allocations: 7.984 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2487, allocations: 0 / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.2487, allocations: 7.938 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2487, allocations: 4 kB / 1.172 GB, free: 0.543 MB / 0.92 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 6.785e-05/0.2488, allocations: 109.8 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2488, allocations: 8.062 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/0.2489, allocations: 120.9 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/0.249, allocations: 180.3 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-05/0.2491, allocations: 180.2 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.441e-05/0.2492, allocations: 176.3 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.2494, allocations: 413.2 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-05/0.2495, allocations: 108.9 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.2495, allocations: 101 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.985e-05/0.2496, allocations: 188.2 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.2496, allocations: 180.3 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-05/0.2497, allocations: 176.3 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-05/0.2498, allocations: 192.1 kB / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.2499, allocations: 315.6 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.25, allocations: 178.1 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.2501, allocations: 180.3 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.2502, allocations: 120.9 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.2503, allocations: 176.3 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.2504, allocations: 104.9 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.2504, allocations: 91.27 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2504, allocations: 0 / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002433/0.2507, allocations: 35.81 kB / 1.176 GB, free: 13.06 MB / 0.9356 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.0004981/0.2512, allocations: 0.8594 MB / 1.176 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.515e-05/0.2512, allocations: 15.94 kB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2513, allocations: 0 / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.2513, allocations: 0 / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2516, allocations: 459.6 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.2526, allocations: 1.332 MB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2528, allocations: 0.669 MB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.2529, allocations: 19.08 kB / 1.179 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.2529, allocations: 11.38 kB / 1.179 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.2529, allocations: 0 / 1.179 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.408/3.661, allocations: 2.165 MB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/19.7, allocations: 15.05 kB / 1.181 GB, free: 7.582 MB / 0.9356 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=400 --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