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.001269/0.001269, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001417/0.001417, allocations: 218.2 kB / 22.26 MB, free: 5.121 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.996 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.402/3.402, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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="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.002091/0.002091, allocations: 79.56 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4204, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006633/0.427, allocations: 3.833 MB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002416/0.4273, allocations: 151.5 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.4273, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.4274, allocations: 8 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.4275, allocations: 15.91 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.4279, allocations: 83.75 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.428, allocations: 27.86 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.4281, allocations: 0 / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.4281, allocations: 27.91 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/0.4282, allocations: 15.92 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.4282, allocations: 4 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.4289, allocations: 239.5 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.429, allocations: 7.984 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.429, allocations: 15.92 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.4292, allocations: 51.94 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4292, allocations: 3.938 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4292, allocations: 0 / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4292, allocations: 0 / 1.357 GB, free: 3.988 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.0004391/0.4296, allocations: 270.3 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4297, allocations: 12.03 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.4297, allocations: 30.75 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.4298, allocations: 0.9375 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.4299, allocations: 114.4 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/0.43, allocations: 55.97 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.43, allocations: 8.125 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4301, allocations: 37.69 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4301, allocations: 7.984 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4301, allocations: 0 / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.4302, allocations: 3.984 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.4302, allocations: 19.94 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.4307, allocations: 235.9 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.4308, allocations: 18.52 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.4308, allocations: 4.859 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.4308, allocations: 20.05 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.4309, allocations: 34.56 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4309, allocations: 0 / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.431, allocations: 33.7 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.4311, allocations: 55.34 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.4312, allocations: 101.8 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.4312, allocations: 25.83 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.4313, allocations: 92.09 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.4313, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.4313, allocations: 21.7 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4314, allocations: 314.8 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.4315, allocations: 4 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.4315, allocations: 21.7 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.4315, allocations: 17.72 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4315, allocations: 0 / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001065/0.4316, allocations: 57.58 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4317, allocations: 7.938 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4317, allocations: 0 / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4317, allocations: 0 / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.4317, allocations: 8 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4317, allocations: 0 / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.4317, allocations: 64 / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.4318, allocations: 4 kB / 1.359 GB, free: 2.168 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.951e-05/0.4319, allocations: 129.6 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.4319, allocations: 3.984 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.432, allocations: 115.2 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.542e-05/0.4321, allocations: 180.2 kB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.471e-05/0.4322, allocations: 188.3 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.426e-05/0.4323, allocations: 180.2 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.4326, allocations: 388.1 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-05/0.4326, allocations: 105 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.4327, allocations: 104.9 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.442e-05/0.4328, allocations: 176.3 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.4329, allocations: 184.3 kB / 1.36 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.554e-05/0.433, allocations: 180.2 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001086/0.4331, allocations: 180.2 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.4333, allocations: 307.7 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.4333, allocations: 112.9 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4334, allocations: 188.1 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.4336, allocations: 109 kB / 1.361 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.4337, allocations: 180.2 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.4338, allocations: 105 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.4338, allocations: 87.27 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4338, allocations: 4 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002743/0.4341, allocations: 19.94 kB / 1.362 GB, free: 14.81 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.0005339/0.4346, allocations: 0.8203 MB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.4347, allocations: 16 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4347, allocations: 4.125 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.4347, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.4353, allocations: 457.4 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4365, allocations: 1.337 MB / 1.364 GB, free: 12.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4369, allocations: 0.669 MB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.387e-05/0.4369, allocations: 7.984 kB / 1.365 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.437, allocations: 15.47 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.437, allocations: 0 / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.468, allocations: 1.594 MB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.56, allocations: 4 kB / 1.367 GB, free: 9.902 MB / 1.061 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: 18.811165218008682]