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.001495/0.001495, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001705/0.001705, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.899/2.899, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 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.001993/0.001993, allocations: 71.88 kB / 1.165 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9248, allocations: 178.9 MB / 1.34 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0067/0.9315, allocations: 3.807 MB / 1.344 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.9318, allocations: 158.3 kB / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.9318, allocations: 0 / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.9319, allocations: 5.109 kB / 1.344 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.932, allocations: 10.11 kB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.9324, allocations: 88.31 kB / 1.344 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.9325, allocations: 33.05 kB / 1.344 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.9326, allocations: 9.047 kB / 1.344 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.9326, allocations: 13.67 kB / 1.344 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.9327, allocations: 14.08 kB / 1.344 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.9327, allocations: 1.594 kB / 1.344 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.9334, allocations: 207.6 kB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.9334, allocations: 10.2 kB / 1.344 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.9334, allocations: 9.062 kB / 1.344 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.9336, allocations: 72.53 kB / 1.344 GB, free: 10.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9336, allocations: 4 kB / 1.344 GB, free: 10.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9336, allocations: 0 / 1.344 GB, free: 10.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.9336, allocations: 0 / 1.344 GB, free: 10.3 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.0004785/0.9341, allocations: 335.8 kB / 1.345 GB, free: 9.938 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9342, allocations: 10.81 kB / 1.345 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.988e-05/0.9342, allocations: 4.172 kB / 1.345 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.9342, allocations: 36.03 kB / 1.345 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.9343, allocations: 1.969 kB / 1.345 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.9344, allocations: 169.5 kB / 1.345 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.9345, allocations: 27.92 kB / 1.345 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.9345, allocations: 5.25 kB / 1.345 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.9347, allocations: 42.81 kB / 1.345 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.9347, allocations: 0 / 1.345 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.9347, allocations: 1.281 kB / 1.345 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.9347, allocations: 0 / 1.345 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.9347, allocations: 13.58 kB / 1.345 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.9353, allocations: 340.9 kB / 1.345 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.663e-05/0.9353, allocations: 21.36 kB / 1.345 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.9353, allocations: 4.859 kB / 1.345 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.9354, allocations: 90.59 kB / 1.345 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.9355, allocations: 31.94 kB / 1.346 GB, free: 9.047 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.9355, allocations: 0 / 1.346 GB, free: 9.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.9356, allocations: 39.64 kB / 1.346 GB, free: 9.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.9357, allocations: 51.41 kB / 1.346 GB, free: 8.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.9358, allocations: 104.8 kB / 1.346 GB, free: 8.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.9358, allocations: 25.7 kB / 1.346 GB, free: 8.809 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.9359, allocations: 89.06 kB / 1.346 GB, free: 8.719 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.9359, allocations: 1.062 kB / 1.346 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.9359, allocations: 21.14 kB / 1.346 GB, free: 8.695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9361, allocations: 316.4 kB / 1.346 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.9361, allocations: 10.16 kB / 1.346 GB, free: 8.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.9361, allocations: 21.27 kB / 1.346 GB, free: 8.348 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.9362, allocations: 16.84 kB / 1.346 GB, free: 8.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9362, allocations: 0 / 1.346 GB, free: 8.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.63e-05/0.9363, allocations: 58.67 kB / 1.346 GB, free: 8.281 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.9363, allocations: 11.69 kB / 1.346 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.9363, allocations: 1.25 kB / 1.346 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.9363, allocations: 0 / 1.346 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.9364, allocations: 5.531 kB / 1.346 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.9364, allocations: 1.094 kB / 1.346 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.9364, allocations: 5.031 kB / 1.346 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.9364, allocations: 9.312 kB / 1.346 GB, free: 8.266 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 9.153e-05/0.9365, allocations: 116.4 kB / 1.346 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.9365, allocations: 1.531 kB / 1.346 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.9367, allocations: 123.3 kB / 1.347 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.773e-05/0.9367, allocations: 185.5 kB / 1.347 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.775e-05/0.9368, allocations: 185.7 kB / 1.347 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-05/0.9369, allocations: 177.3 kB / 1.347 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.9372, allocations: 415.6 kB / 1.347 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/0.9372, allocations: 106.1 kB / 1.348 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.9373, allocations: 106.6 kB / 1.348 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.9374, allocations: 176.3 kB / 1.348 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.9375, allocations: 177.6 kB / 1.348 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.148e-05/0.9375, allocations: 185.4 kB / 1.348 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.679e-05/0.9376, allocations: 181.4 kB / 1.348 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.9378, allocations: 307 kB / 1.349 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.9379, allocations: 187.2 kB / 1.349 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.938, allocations: 182.9 kB / 1.349 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.9381, allocations: 107.2 kB / 1.349 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.9382, allocations: 185.3 kB / 1.349 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.9383, allocations: 105.9 kB / 1.349 GB, free: 4.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.9383, allocations: 83.62 kB / 1.349 GB, free: 4.852 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.9383, allocations: 0.9688 kB / 1.349 GB, free: 4.852 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002689/0.9386, allocations: 20.19 kB / 1.349 GB, free: 4.844 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.000546/0.9391, allocations: 0.8352 MB / 1.35 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.871e-05/0.9392, allocations: 6.094 kB / 1.35 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9392, allocations: 1.094 kB / 1.35 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.9392, allocations: 0 / 1.35 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.9397, allocations: 469 kB / 1.351 GB, free: 3.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.9409, allocations: 1.322 MB / 1.352 GB, free: 2.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.9412, allocations: 0.676 MB / 1.353 GB, free: 1.508 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.068e-05/0.9413, allocations: 10.69 kB / 1.353 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.9413, allocations: 9.688 kB / 1.353 GB, free: 1.5 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.9413, allocations: 0 / 1.353 GB, free: 1.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.9602, allocations: 1.559 MB / 1.354 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.871, allocations: 8.672 kB / 1.354 GB, free: 0.6719 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.045799485000316]