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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8139, allocations: 160.7 MB / 1.213 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00611/0.82, allocations: 3.297 MB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.8201, allocations: 59.89 kB / 1.216 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.8201, allocations: 4 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.8202, allocations: 1.344 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.8203, allocations: 14.69 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.8209, allocations: 194.5 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.821, allocations: 37.83 kB / 1.216 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.8211, allocations: 5.062 kB / 1.216 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.8211, allocations: 13.5 kB / 1.216 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.8212, allocations: 14.59 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.8212, allocations: 1.062 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.8216, allocations: 181.8 kB / 1.217 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.8216, allocations: 10.97 kB / 1.217 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.8217, allocations: 8.344 kB / 1.217 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.822, allocations: 135.9 kB / 1.217 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.822, allocations: 3.938 kB / 1.217 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.893e-06/0.822, allocations: 0 / 1.217 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.822, allocations: 4 kB / 1.217 GB, free: 0.7695 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.0004616/0.8224, allocations: 347.6 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8225, allocations: 9.375 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.8225, allocations: 32.06 kB / 1.217 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.8226, allocations: 2.312 kB / 1.217 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.8227, allocations: 165.6 kB / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.8228, allocations: 27.77 kB / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.8228, allocations: 9.016 kB / 1.217 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.8229, allocations: 47.28 kB / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.8229, allocations: 0 / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.8229, allocations: 0.9688 kB / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.8229, allocations: 4.734 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.823, allocations: 17.47 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.8237, allocations: 0.589 MB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.8238, allocations: 23.61 kB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.8238, allocations: 13.97 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.8241, allocations: 337.9 kB / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.8241, allocations: 32.12 kB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.8241, allocations: 0 / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.8243, allocations: 35.55 kB / 1.218 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.8243, allocations: 56.52 kB / 1.218 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.8244, allocations: 103.4 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.8245, allocations: 26.83 kB / 1.219 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.8245, allocations: 89.09 kB / 1.219 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-06/0.8245, allocations: 5.078 kB / 1.219 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.8246, allocations: 20.95 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8247, allocations: 315.9 kB / 1.219 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.8247, allocations: 2.594 kB / 1.219 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.8248, allocations: 17.39 kB / 1.219 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.8248, allocations: 24.41 kB / 1.219 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8248, allocations: 0 / 1.219 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.536e-05/0.8249, allocations: 50.88 kB / 1.219 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.8249, allocations: 5.656 kB / 1.219 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.8249, allocations: 0 / 1.219 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8249, allocations: 1.094 kB / 1.219 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.825, allocations: 5.438 kB / 1.219 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.825, allocations: 4.062 kB / 1.219 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.825, allocations: 1.125 kB / 1.219 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.825, allocations: 2.5 kB / 1.219 GB, free: 14.15 MB / 0.9356 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 9.417e-05/0.8251, allocations: 120.6 kB / 1.219 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.8251, allocations: 6.25 kB / 1.219 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.8253, allocations: 118.3 kB / 1.219 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.991e-05/0.8254, allocations: 181.7 kB / 1.22 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.078e-05/0.8254, allocations: 188.8 kB / 1.22 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.18e-05/0.8255, allocations: 185.3 kB / 1.22 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.8258, allocations: 408.6 kB / 1.22 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.8259, allocations: 105 kB / 1.22 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.8259, allocations: 102.3 kB / 1.22 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.757e-05/0.826, allocations: 189.6 kB / 1.221 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/0.8261, allocations: 181.7 kB / 1.221 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-05/0.8262, allocations: 180.2 kB / 1.221 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.34e-05/0.8263, allocations: 181.3 kB / 1.221 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.8264, allocations: 316.8 kB / 1.221 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.8266, allocations: 183.4 kB / 1.222 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.8267, allocations: 185.1 kB / 1.222 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.8268, allocations: 103.2 kB / 1.222 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.8269, allocations: 189.6 kB / 1.222 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.827, allocations: 106.3 kB / 1.222 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.827, allocations: 84.41 kB / 1.222 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.827, allocations: 0 / 1.222 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003185/0.8273, allocations: 43.42 kB / 1.222 GB, free: 10.7 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.0006775/0.828, allocations: 0.8623 MB / 1.223 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.132e-05/0.8281, allocations: 13.77 kB / 1.223 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8281, allocations: 1.25 kB / 1.223 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.8281, allocations: 0 / 1.223 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.8286, allocations: 463.2 kB / 1.224 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.8299, allocations: 1.328 MB / 1.225 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.8302, allocations: 0.6756 MB / 1.226 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.8302, allocations: 14.94 kB / 1.226 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.8303, allocations: 16.89 kB / 1.226 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.8303, allocations: 0 / 1.226 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.8556, allocations: 2.165 MB / 1.228 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/9.035, allocations: 12.69 kB / 1.228 GB, free: 6.195 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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.886896263808012]