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.002087/0.002087, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002614/0.002614, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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 3.527/3.527, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",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.002014/0.002014, allocations: 70.56 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4183, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00618/0.4245, allocations: 3.838 MB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000241/0.4247, allocations: 163.5 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.4247, allocations: 0 / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.4249, allocations: 3.938 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.4249, allocations: 15.92 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.4254, allocations: 83.73 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.4255, allocations: 39.84 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.4255, allocations: 3.938 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.4256, allocations: 19.97 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.4256, allocations: 11.98 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.4257, allocations: 0 / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.4264, allocations: 243.5 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.4264, allocations: 7.875 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.4264, allocations: 11.98 kB / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.4266, allocations: 67.86 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4266, allocations: 0 / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4266, allocations: 0 / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.4266, allocations: 0 / 1.35 GB, free: 11.96 MB / 1.045 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.0004509/0.4271, allocations: 262.3 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4271, allocations: 12.03 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.737e-05/0.4272, allocations: 192 / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.4272, allocations: 30.75 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4272, allocations: 4.938 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.4273, allocations: 110.5 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/0.4274, allocations: 55.97 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4274, allocations: 3.938 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.4276, allocations: 49.61 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4276, allocations: 0 / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4276, allocations: 0 / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.4276, allocations: 3.984 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.881e-05/0.4277, allocations: 16 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.4281, allocations: 235.9 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.4282, allocations: 18.52 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.4282, allocations: 4.859 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.4282, allocations: 12.05 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4283, allocations: 34.56 kB / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4283, allocations: 4 kB / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.000143/0.4284, allocations: 33.7 kB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.4285, allocations: 51.41 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.4286, allocations: 101.8 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4286, allocations: 29.64 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.4286, allocations: 88.09 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-06/0.4286, allocations: 3.938 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4287, allocations: 21.7 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4288, allocations: 318.9 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.4288, allocations: 7.938 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.4288, allocations: 21.72 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.4289, allocations: 17.7 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4289, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.474e-05/0.429, allocations: 61.58 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.429, allocations: 4 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.429, allocations: 0 / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.429, allocations: 0 / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.429, allocations: 4 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4291, allocations: 4 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.4291, allocations: 0 / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.4291, allocations: 3.938 kB / 1.351 GB, free: 10.14 MB / 1.045 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.452e-05/0.4292, allocations: 113.8 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.4292, allocations: 4.062 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.4293, allocations: 122.7 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/0.4294, allocations: 176.3 kB / 1.352 GB, free: 9.711 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.678e-05/0.4295, allocations: 188.2 kB / 1.352 GB, free: 9.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/0.4296, allocations: 180.2 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.4298, allocations: 392.1 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.055e-05/0.4299, allocations: 105.3 kB / 1.352 GB, free: 8.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.4299, allocations: 101 kB / 1.353 GB, free: 8.688 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.523e-05/0.43, allocations: 180.2 kB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.4301, allocations: 180.3 kB / 1.353 GB, free: 8.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.873e-05/0.4302, allocations: 180.2 kB / 1.353 GB, free: 8.137 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.409e-05/0.4303, allocations: 184.2 kB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.4304, allocations: 311.7 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.4305, allocations: 108.9 kB / 1.354 GB, free: 7.508 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.4306, allocations: 184.2 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.4308, allocations: 113 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.4309, allocations: 176.3 kB / 1.354 GB, free: 7.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.4309, allocations: 104.9 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.816e-05/0.431, allocations: 95.2 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.431, allocations: 0 / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002664/0.4313, allocations: 16 kB / 1.354 GB, free: 6.805 MB / 1.045 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.0005805/0.4319, allocations: 0.8242 MB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.432, allocations: 23.88 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.432, allocations: 0 / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.432, allocations: 0 / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.4326, allocations: 462.1 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4338, allocations: 1.329 MB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4341, allocations: 0.6729 MB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.767e-05/0.4342, allocations: 11.98 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.4342, allocations: 7.438 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.4342, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.4566, allocations: 1.622 MB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.78, allocations: 13.5 kB / 1.359 GB, free: 1.867 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.13677835901035]