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.001263/0.001263, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001389/0.001389, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.404/1.404, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.01/3.01, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001958/0.001958, allocations: 65.42 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3134, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00528/0.3187, allocations: 3.366 MB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.3188, allocations: 59.84 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.3189, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.3189, allocations: 3.938 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.882e-05/0.319, allocations: 11.92 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.3196, allocations: 193.3 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.388e-05/0.3197, allocations: 31.92 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.3197, allocations: 3.984 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.3197, allocations: 19.86 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.3198, allocations: 11.98 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3198, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.3202, allocations: 183.5 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.3202, allocations: 11.92 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.3202, allocations: 15.92 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.3205, allocations: 139.9 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3205, allocations: 4 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.61e-07/0.3205, allocations: 0 / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3205, allocations: 0 / 1.325 GB, free: 15.33 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.0003964/0.3209, allocations: 351.3 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.321, allocations: 15.98 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.321, allocations: 30.75 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.321, allocations: 0.9375 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3212, allocations: 164.4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.3212, allocations: 30.27 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3212, allocations: 4.125 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.3213, allocations: 45.67 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3214, allocations: 4 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3214, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3214, allocations: 7.922 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.3214, allocations: 8 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.3221, allocations: 0.5833 MB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.006e-05/0.3221, allocations: 18.58 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.3221, allocations: 8.844 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.3224, allocations: 348.5 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3225, allocations: 34.5 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3225, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.3226, allocations: 41.59 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3226, allocations: 55.53 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3228, allocations: 101.8 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3228, allocations: 25.7 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.3228, allocations: 92.09 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-06/0.3228, allocations: 3.938 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3229, allocations: 17.7 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.323, allocations: 318.8 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.323, allocations: 8 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.323, allocations: 21.7 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.3231, allocations: 21.66 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3231, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.873e-05/0.3232, allocations: 53.62 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3232, allocations: 4 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3232, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3232, allocations: 4.062 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.911e-05/0.3232, allocations: 8 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3232, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.3233, allocations: 7.891 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.3233, allocations: 4 kB / 1.327 GB, free: 12.53 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.22e-05/0.3233, allocations: 113.8 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3234, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.3235, allocations: 124.9 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.17e-05/0.3236, allocations: 176.3 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.203e-05/0.3236, allocations: 184.2 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.85e-05/0.3237, allocations: 180.3 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.324, allocations: 413.2 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/0.324, allocations: 104.9 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.3241, allocations: 109 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/0.3242, allocations: 176.3 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.3242, allocations: 184.2 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.816e-05/0.3243, allocations: 180.2 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.3244, allocations: 184.2 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3245, allocations: 307.7 kB / 1.329 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.853e-05/0.3246, allocations: 190.4 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.3247, allocations: 176.3 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3249, allocations: 116.9 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.325, allocations: 184.2 kB / 1.33 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.325, allocations: 108.9 kB / 1.33 GB, free: 9.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.718e-05/0.3251, allocations: 83.28 kB / 1.33 GB, free: 9.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3251, allocations: 4 kB / 1.33 GB, free: 9.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002827/0.3254, allocations: 35.8 kB / 1.33 GB, free: 9.043 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.0005892/0.326, allocations: 0.8672 MB / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.897e-05/0.326, allocations: 15.92 kB / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.326, allocations: 4.125 kB / 1.331 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.326, allocations: 0 / 1.331 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.3265, allocations: 455.7 kB / 1.332 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3276, allocations: 1.338 MB / 1.333 GB, free: 6.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3279, allocations: 0.6729 MB / 1.334 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3279, allocations: 4 kB / 1.334 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.3279, allocations: 11.44 kB / 1.334 GB, free: 5.539 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/0.3279, allocations: 0 / 1.334 GB, free: 5.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.3516, allocations: 2.173 MB / 1.336 GB, free: 3.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.911, allocations: 13.27 kB / 1.336 GB, free: 3.559 MB / 1.029 GB " [Timeout remaining time 292] (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.08718688110821]