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.0009633/0.0009633, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008972/0.0008972, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.925/0.925, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.996e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00382/0.00384, allocations: 3.625 MB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/0.003961, allocations: 147.5 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.003982, allocations: 0 / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 9.977e-05/0.004082, allocations: 3.938 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.004155, allocations: 19.86 kB / 0.9542 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.004436, allocations: 81.05 kB / 0.9542 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.004509, allocations: 35.86 kB / 0.9543 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.004547, allocations: 4 kB / 0.9543 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.004596, allocations: 27.91 kB / 0.9543 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.004663, allocations: 7.984 kB / 0.9543 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.004677, allocations: 4 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.005094, allocations: 207.2 kB / 0.9545 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.005135, allocations: 11.97 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.005154, allocations: 8 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.005272, allocations: 67.73 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005274, allocations: 0 / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005275, allocations: 4 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.00528, allocations: 0 / 0.9546 GB, free: 15.26 MB / 0.9167 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.0003065/0.005586, allocations: 258.3 kB / 0.9548 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.005624, allocations: 8.031 kB / 0.9549 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.005654, allocations: 30.75 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.005681, allocations: 4.938 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.529e-05/0.005756, allocations: 101.8 kB / 0.955 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/0.005819, allocations: 59.94 kB / 0.955 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.005827, allocations: 8.375 kB / 0.9551 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.005935, allocations: 67.89 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005942, allocations: 7.938 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005951, allocations: 0 / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.005966, allocations: 4 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.006003, allocations: 15.98 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.006328, allocations: 228 kB / 0.9554 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.006363, allocations: 14.58 kB / 0.9554 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.006376, allocations: 16.8 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.006416, allocations: 7.984 kB / 0.9554 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.00644, allocations: 34.56 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 2.935e-06/0.006443, allocations: 4 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.006565, allocations: 33.7 kB / 0.9555 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.006594, allocations: 51.41 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.006659, allocations: 109.8 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.006677, allocations: 25.7 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.006714, allocations: 84.09 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.096e-06/0.006722, allocations: 11.89 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.006749, allocations: 21.7 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.006829, allocations: 310.8 kB / 0.9561 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.006841, allocations: 7.938 kB / 0.9561 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.006858, allocations: 13.84 kB / 0.9561 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.006888, allocations: 33.64 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006889, allocations: 0 / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.054e-05/0.00694, allocations: 53.62 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006951, allocations: 6.656 kB / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006955, allocations: 0 / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.006966, allocations: 0 / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-05/0.007001, allocations: 8 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007006, allocations: 0 / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.035e-05/0.007017, allocations: 4.062 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.007025, allocations: 7.938 kB / 0.9562 GB, free: 13.42 MB / 0.9167 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 5.247e-05/0.007078, allocations: 109.8 kB / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.00709, allocations: 4 kB / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.007179, allocations: 127 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-05/0.007224, allocations: 180.3 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.381e-05/0.007267, allocations: 180.2 kB / 0.9568 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.086e-05/0.007308, allocations: 180.2 kB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.007457, allocations: 380.2 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/0.007483, allocations: 112.9 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.007509, allocations: 105 kB / 0.9575 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.146e-05/0.00755, allocations: 184.2 kB / 0.9577 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.007593, allocations: 180.3 kB / 0.9578 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.581e-05/0.007639, allocations: 176.3 kB / 0.958 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.96e-05/0.007679, allocations: 184.1 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.943e-05/0.007768, allocations: 315.7 kB / 0.9585 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.007797, allocations: 101 kB / 0.9586 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.007846, allocations: 180.3 kB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.007937, allocations: 112.9 kB / 0.9589 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.007982, allocations: 184.3 kB / 0.959 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.008005, allocations: 104.9 kB / 0.9591 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.008039, allocations: 87.27 kB / 0.9592 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008039, allocations: 4 kB / 0.9592 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001536/0.008193, allocations: 15.94 kB / 0.9592 GB, free: 10.09 MB / 0.9167 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.0002984/0.008491, allocations: 0.8204 MB / 0.96 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.965e-05/0.008551, allocations: 15.92 kB / 0.9601 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008552, allocations: 0 / 0.9601 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.008553, allocations: 0 / 0.9601 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.008902, allocations: 463.8 kB / 0.9605 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.009605, allocations: 1.324 MB / 0.9618 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.009648, allocations: 55.36 kB / 0.9618 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.009682, allocations: 7.984 kB / 0.9619 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.009707, allocations: 12.5 kB / 0.9619 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.009707, allocations: 4 kB / 0.9619 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.02814, allocations: 2.19 MB / 0.964 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.712, allocations: 4.062 kB / 0.964 GB, free: 5.219 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.797415072098374]