Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001308/0.001308, allocations: 105.7 kB / 16.45 MB, free: 6.445 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.001341/0.001341, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.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.689/2.689, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 68.03 kB / 1.056 GB, free: 2.547 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 160.7 MB / 1.213 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00624/0.3384, allocations: 4.048 MB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.3386, allocations: 147.5 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.3386, allocations: 0 / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3387, allocations: 3.984 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.3388, allocations: 11.92 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3392, allocations: 83.69 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.136e-05/0.3393, allocations: 35.91 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.3393, allocations: 0 / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.3394, allocations: 23.8 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.3394, allocations: 15.98 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3395, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3397, allocations: 59.8 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.3397, allocations: 11.98 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3397, allocations: 11.94 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.3399, allocations: 40.17 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3399, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3399, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3399, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 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.0004634/0.3403, allocations: 339.4 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3404, allocations: 8.031 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.3404, allocations: 30.75 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.3405, allocations: 12.92 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3406, allocations: 164.3 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.3407, allocations: 26.27 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3407, allocations: 8.125 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3408, allocations: 41.69 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3409, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3409, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.3409, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.3409, allocations: 19.98 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.3414, allocations: 346 kB / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.852e-05/0.3415, allocations: 22.52 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.3415, allocations: 4.859 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.3416, allocations: 85.16 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3416, allocations: 34.56 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.3416, allocations: 4 kB / 1.218 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.3418, allocations: 37.64 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3418, allocations: 51.41 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.3419, allocations: 102 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3419, allocations: 29.7 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.342, allocations: 88.03 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.342, allocations: 4 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.342, allocations: 21.66 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3422, allocations: 322.9 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.3422, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.3422, allocations: 17.75 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.3423, allocations: 29.7 kB / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3423, allocations: 3.938 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.744e-05/0.3423, allocations: 49.72 kB / 1.219 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3424, allocations: 8 kB / 1.219 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3424, allocations: 3.938 kB / 1.219 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3424, allocations: 0 / 1.219 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/0.3424, allocations: 4 kB / 1.219 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3424, allocations: 3.938 kB / 1.219 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.3424, allocations: 7.938 kB / 1.219 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3425, allocations: 0 / 1.219 GB, free: 10.81 MB / 0.9669 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.124e-05/0.3425, allocations: 113.8 kB / 1.219 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.3426, allocations: 4.031 kB / 1.219 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.3427, allocations: 121 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.231e-05/0.3428, allocations: 180.2 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.972e-05/0.3429, allocations: 176.3 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.623e-05/0.3429, allocations: 184.2 kB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3432, allocations: 413.1 kB / 1.22 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/0.3433, allocations: 105 kB / 1.22 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.3433, allocations: 104.9 kB / 1.22 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-05/0.3434, allocations: 176.3 kB / 1.221 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/0.3435, allocations: 180.3 kB / 1.221 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.388e-05/0.3436, allocations: 184.2 kB / 1.221 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.557e-05/0.3437, allocations: 184.2 kB / 1.221 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3438, allocations: 311.7 kB / 1.221 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3439, allocations: 178.1 kB / 1.222 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.344, allocations: 188.2 kB / 1.222 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3442, allocations: 109 kB / 1.222 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.3443, allocations: 184.2 kB / 1.222 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.3443, allocations: 105 kB / 1.222 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.593e-05/0.3444, allocations: 87.27 kB / 1.222 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3444, allocations: 0 / 1.222 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000257/0.3447, allocations: 19.88 kB / 1.222 GB, free: 7.352 MB / 0.9669 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.0006814/0.3453, allocations: 0.8321 MB / 1.223 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.31e-05/0.3454, allocations: 7.984 kB / 1.223 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3454, allocations: 0 / 1.223 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3454, allocations: 0 / 1.223 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.3459, allocations: 467.8 kB / 1.224 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3472, allocations: 1.313 MB / 1.225 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3475, allocations: 0.6806 MB / 1.225 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.3475, allocations: 8 kB / 1.225 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.3476, allocations: 15.38 kB / 1.226 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3476, allocations: 0 / 1.226 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.3715, allocations: 1.518 MB / 1.227 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.427, allocations: 12.69 kB / 1.227 GB, free: 2.469 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.47215504385531]