Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001574/0.001574, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001822/0.001822, allocations: 217 kB / 22.25 MB, free: 5.082 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001993/0.001993, allocations: 68.62 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006316/0.3501, allocations: 3.82 MB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.3503, allocations: 163.5 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.3504, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.3505, allocations: 7.938 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.3506, allocations: 15.91 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.3509, allocations: 87.38 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.351, allocations: 39.78 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.3511, allocations: 3.984 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.062e-05/0.3511, allocations: 15.98 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.3512, allocations: 15.97 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3512, allocations: 0 / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006699/0.3519, allocations: 242.8 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.3519, allocations: 11.86 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.352, allocations: 12 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3521, allocations: 71.78 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3521, allocations: 0 / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3521, allocations: 0 / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.3521, allocations: 0 / 1.288 GB, free: 7.215 MB / 0.9825 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.0004159/0.3526, allocations: 262.3 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3526, allocations: 8.031 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.3526, allocations: 34.75 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3527, allocations: 0.9375 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3528, allocations: 114.5 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.3529, allocations: 51.97 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3529, allocations: 4.125 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.353, allocations: 45.62 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.353, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.353, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.3531, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.3531, allocations: 15.98 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3535, allocations: 236 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.419e-05/0.3536, allocations: 18.58 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.3536, allocations: 8.797 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.3536, allocations: 8.047 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3537, allocations: 38.56 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3537, allocations: 0 / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.3538, allocations: 33.7 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3538, allocations: 51.41 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.3539, allocations: 109.8 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3539, allocations: 25.7 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.354, allocations: 80.14 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.354, allocations: 11.89 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.354, allocations: 21.66 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3542, allocations: 322.7 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.3542, allocations: 4.125 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.3542, allocations: 17.72 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.3542, allocations: 25.7 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3542, allocations: 0 / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.655e-05/0.3543, allocations: 45.64 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3543, allocations: 8 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3543, allocations: 8.047 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3544, allocations: 0 / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.3544, allocations: 4 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3544, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.3544, allocations: 4 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3544, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 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.82e-05/0.3545, allocations: 121.7 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3545, allocations: 3.953 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.3547, allocations: 129 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.348e-05/0.3547, allocations: 176.3 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.809e-05/0.3548, allocations: 184.2 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.498e-05/0.3549, allocations: 180.3 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.3552, allocations: 380.2 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/0.3552, allocations: 113 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.3552, allocations: 101.3 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.3553, allocations: 184.2 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/0.3554, allocations: 176.3 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-05/0.3555, allocations: 184.2 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.5e-05/0.3555, allocations: 176.3 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3557, allocations: 319.7 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.3558, allocations: 101 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.3559, allocations: 184.2 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.356, allocations: 113 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.3561, allocations: 180.3 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.3562, allocations: 104.9 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.3562, allocations: 87.27 kB / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 0 / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002688/0.3565, allocations: 23.88 kB / 1.292 GB, free: 2.066 MB / 0.9825 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.0005862/0.3571, allocations: 0.8204 MB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.983e-05/0.3572, allocations: 11.94 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.3572, allocations: 0 / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3572, allocations: 3.938 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.3578, allocations: 474 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3591, allocations: 1.34 MB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3594, allocations: 0.669 MB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.3595, allocations: 7.984 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.3595, allocations: 15.44 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.3595, allocations: 0 / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3873, allocations: 1.588 MB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.44, allocations: 2.25 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 18.17047414300032]