Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001562/0.001562, allocations: 114.3 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.002109/0.002109, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.02 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.322/3.322, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.002113/0.002113, allocations: 63.5 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3895, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006898/0.3964, allocations: 3.832 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.3966, allocations: 155.5 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.3966, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.3967, allocations: 3.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.3968, allocations: 15.91 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.3972, allocations: 91.69 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3973, allocations: 35.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3974, allocations: 11.97 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.3974, allocations: 8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.3975, allocations: 15.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3975, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007514/0.3982, allocations: 243.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.3983, allocations: 11.94 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.3983, allocations: 11.98 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3985, allocations: 67.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3985, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3985, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3985, allocations: 0 / 1.33 GB, free: 13.45 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.0004088/0.3989, allocations: 266.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3989, allocations: 8.031 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.399, allocations: 34.75 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.399, allocations: 4.938 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3991, allocations: 110.5 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.3992, allocations: 55.97 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3992, allocations: 4.125 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3994, allocations: 49.61 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3994, allocations: 3.984 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3994, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.3994, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.3994, allocations: 11.98 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.3999, allocations: 232 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.3999, allocations: 14.58 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.3999, allocations: 8.922 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-05/0.4, allocations: 7.984 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4, allocations: 34.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.4002, allocations: 45.66 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.4002, allocations: 55.34 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.4003, allocations: 101.8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4003, allocations: 25.7 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.4004, allocations: 88.09 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.4004, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.4004, allocations: 17.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4006, allocations: 322.7 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.4006, allocations: 8.125 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.4006, allocations: 21.64 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.4006, allocations: 21.72 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4006, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.874e-05/0.4007, allocations: 49.62 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4007, allocations: 5.562 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4007, allocations: 4.062 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4008, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.4008, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4008, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.4008, allocations: 3.953 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4008, allocations: 4 kB / 1.332 GB, free: 11.64 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.289e-05/0.4009, allocations: 109.8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.401, allocations: 7.984 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.4011, allocations: 120.9 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-05/0.4012, allocations: 180.3 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001043/0.4013, allocations: 184.2 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.42e-05/0.4014, allocations: 176.3 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.4016, allocations: 388.2 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.833e-05/0.4017, allocations: 108.9 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.4017, allocations: 105 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-05/0.4018, allocations: 180.2 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.4019, allocations: 180.3 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.106e-05/0.402, allocations: 184.2 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-05/0.4021, allocations: 184.2 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.4023, allocations: 311.7 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.4023, allocations: 101 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4024, allocations: 180.2 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4026, allocations: 108.9 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.4027, allocations: 180.3 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.4027, allocations: 112.9 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.4028, allocations: 83.28 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4028, allocations: 0 / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002751/0.4031, allocations: 15.94 kB / 1.335 GB, free: 8.309 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.0006088/0.4037, allocations: 0.8437 MB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.4038, allocations: 11.94 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4038, allocations: 4 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.4038, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.4044, allocations: 467.8 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4057, allocations: 1.317 MB / 1.337 GB, free: 5.559 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.406, allocations: 0.6768 MB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.158e-05/0.4061, allocations: 10.61 kB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.4061, allocations: 19.38 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.4061, allocations: 4 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.4359, allocations: 1.593 MB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.42, allocations: 1.969 kB / 1.34 GB, free: 3.371 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.414533340837806]