Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001256/0.001256, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001394/0.001394, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.934/2.934, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.001889/0.001889, allocations: 71.98 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3031, allocations: 181.8 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005217/0.3083, allocations: 3.63 MB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001868/0.3085, allocations: 143.5 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.3085, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.13e-05/0.3086, allocations: 7.938 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.076e-05/0.3086, allocations: 19.91 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.309, allocations: 77.88 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.642e-05/0.309, allocations: 39.84 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.3091, allocations: 7.984 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.3091, allocations: 12 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3092, allocations: 19.91 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.3092, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.3097, allocations: 211.6 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.3098, allocations: 3.984 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.3098, allocations: 12 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.3099, allocations: 59.8 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3099, allocations: 0 / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3099, allocations: 4 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3099, allocations: 4 kB / 1.368 GB, free: 9.809 MB / 1.061 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.0003357/0.3103, allocations: 258.3 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3103, allocations: 8.031 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3103, allocations: 34.75 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.3104, allocations: 0.9375 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.3105, allocations: 110.4 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.3105, allocations: 55.97 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3106, allocations: 8.125 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3107, allocations: 71.33 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3107, allocations: 8 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3107, allocations: 0 / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.3107, allocations: 0 / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.3108, allocations: 11.98 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3111, allocations: 232 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.3112, allocations: 22.52 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.3112, allocations: 4.859 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.3112, allocations: 16 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3113, allocations: 30.56 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3113, allocations: 0 / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.3114, allocations: 45.69 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.3114, allocations: 51.41 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.3115, allocations: 101.8 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3115, allocations: 29.7 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3116, allocations: 92.08 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/0.3116, allocations: 3.953 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.3116, allocations: 13.72 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3117, allocations: 318.8 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.3118, allocations: 7.984 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.3118, allocations: 17.66 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.3118, allocations: 25.84 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3118, allocations: 0 / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.275e-05/0.3119, allocations: 49.62 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3119, allocations: 4 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3119, allocations: 4 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.3119, allocations: 0 / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.097e-05/0.312, allocations: 7.984 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.312, allocations: 0 / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.312, allocations: 8.062 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.312, allocations: 0 / 1.369 GB, free: 7.969 MB / 1.061 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 7.726e-05/0.3121, allocations: 118.8 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.3121, allocations: 0 / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3122, allocations: 128.9 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-05/0.3123, allocations: 176.3 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-05/0.3124, allocations: 184.2 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.875e-05/0.3124, allocations: 176.3 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3127, allocations: 384.2 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-05/0.3127, allocations: 104.9 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.3127, allocations: 105 kB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.405e-05/0.3128, allocations: 184.2 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.3129, allocations: 184.2 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.129e-05/0.313, allocations: 176.3 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-05/0.313, allocations: 184.2 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.3132, allocations: 307.7 kB / 1.371 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.3132, allocations: 109 kB / 1.371 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.3133, allocations: 180.3 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3135, allocations: 108.9 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.3135, allocations: 184.2 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.3136, allocations: 116.9 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.3136, allocations: 83.28 kB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3136, allocations: 0 / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002261/0.3139, allocations: 19.88 kB / 1.372 GB, free: 4.633 MB / 1.061 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.0004515/0.3143, allocations: 0.8166 MB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.306e-05/0.3144, allocations: 15.94 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3144, allocations: 0 / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-06/0.3144, allocations: 4 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3148, allocations: 463.8 kB / 1.373 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3159, allocations: 1.325 MB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.3159, allocations: 59.34 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.3159, allocations: 10.81 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.316, allocations: 15.44 kB / 1.375 GB, free: 1.801 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.316, allocations: 0 / 1.375 GB, free: 1.801 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3437, allocations: 2.04 MB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.943/10.29, allocations: 0 / 1.377 GB, free: 15.9 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.26838519098237]