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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 67.89 kB / 1.134 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.031, allocations: 173.9 MB / 1.304 GB, free: 32.19 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004387/1.035, allocations: 3.749 MB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001719/1.035, allocations: 158.9 kB / 1.308 GB, free: 29.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/1.035, allocations: 0 / 1.308 GB, free: 29.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/1.035, allocations: 0 / 1.308 GB, free: 29.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/1.036, allocations: 22.58 kB / 1.308 GB, free: 29.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/1.036, allocations: 82.31 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/1.036, allocations: 37.98 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/1.036, allocations: 6.625 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/1.036, allocations: 12.44 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/1.036, allocations: 16.75 kB / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/1.036, allocations: 2.562 kB / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/1.037, allocations: 189.6 kB / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/1.037, allocations: 7.922 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/1.037, allocations: 13.22 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/1.037, allocations: 42.91 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.037, allocations: 4 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/1.037, allocations: 0 / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.902e-06/1.037, allocations: 3 kB / 1.308 GB, free: 29.23 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.0003427/1.037, allocations: 329.9 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.037, allocations: 12.75 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/1.037, allocations: 34.75 kB / 1.309 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/1.037, allocations: 7.516 kB / 1.309 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/1.037, allocations: 160.4 kB / 1.309 GB, free: 28.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/1.037, allocations: 29.23 kB / 1.309 GB, free: 28.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/1.037, allocations: 8.062 kB / 1.309 GB, free: 28.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/1.038, allocations: 45.52 kB / 1.309 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.038, allocations: 2.812 kB / 1.309 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/1.038, allocations: 0 / 1.309 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/1.038, allocations: 4 kB / 1.309 GB, free: 28.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/1.038, allocations: 14.58 kB / 1.309 GB, free: 28.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/1.038, allocations: 331.3 kB / 1.309 GB, free: 28.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.422e-05/1.038, allocations: 22.45 kB / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/1.038, allocations: 11.58 kB / 1.309 GB, free: 28.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/1.038, allocations: 86.31 kB / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/1.038, allocations: 34.56 kB / 1.309 GB, free: 28.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.038, allocations: 0 / 1.309 GB, free: 28.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/1.038, allocations: 31.55 kB / 1.309 GB, free: 27.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/1.038, allocations: 54.73 kB / 1.309 GB, free: 27.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/1.038, allocations: 107.6 kB / 1.309 GB, free: 27.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/1.038, allocations: 28.58 kB / 1.309 GB, free: 27.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/1.038, allocations: 91.31 kB / 1.31 GB, free: 27.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/1.038, allocations: 12.02 kB / 1.31 GB, free: 27.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/1.038, allocations: 19.44 kB / 1.31 GB, free: 27.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.746e-05/1.038, allocations: 314.8 kB / 1.31 GB, free: 27.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/1.038, allocations: 6.219 kB / 1.31 GB, free: 27.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/1.038, allocations: 16.75 kB / 1.31 GB, free: 27.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/1.038, allocations: 22.73 kB / 1.31 GB, free: 27.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.038, allocations: 8 kB / 1.31 GB, free: 27.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.799e-05/1.039, allocations: 44.17 kB / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.039, allocations: 9.281 kB / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.039, allocations: 0 / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.039, allocations: 0 / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/1.039, allocations: 5.938 kB / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/1.039, allocations: 0 / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/1.039, allocations: 6.656 kB / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/1.039, allocations: 0 / 1.31 GB, free: 27.25 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 4.745e-05/1.039, allocations: 116.8 kB / 1.31 GB, free: 27.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/1.039, allocations: 11.27 kB / 1.31 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/1.039, allocations: 114.8 kB / 1.31 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.039, allocations: 184.3 kB / 1.31 GB, free: 26.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.134e-05/1.039, allocations: 183.6 kB / 1.311 GB, free: 26.63 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-05/1.039, allocations: 187.1 kB / 1.311 GB, free: 26.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/1.039, allocations: 411.3 kB / 1.311 GB, free: 25.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.039, allocations: 101 kB / 1.311 GB, free: 25.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/1.039, allocations: 101 kB / 1.311 GB, free: 25.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/1.039, allocations: 186.3 kB / 1.312 GB, free: 25.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/1.039, allocations: 176.3 kB / 1.312 GB, free: 25.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-05/1.039, allocations: 184.2 kB / 1.312 GB, free: 25.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.377e-05/1.039, allocations: 179.1 kB / 1.312 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.527e-05/1.039, allocations: 310 kB / 1.312 GB, free: 24.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/1.039, allocations: 181 kB / 1.313 GB, free: 24.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/1.039, allocations: 191.4 kB / 1.313 GB, free: 24.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/1.039, allocations: 103.9 kB / 1.313 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/1.039, allocations: 184.1 kB / 1.313 GB, free: 24.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/1.039, allocations: 107 kB / 1.313 GB, free: 23.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.011e-05/1.04, allocations: 85 kB / 1.313 GB, free: 23.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.04, allocations: 0 / 1.313 GB, free: 23.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002279/1.04, allocations: 23.31 kB / 1.313 GB, free: 23.85 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.0003558/1.04, allocations: 0.8375 MB / 1.314 GB, free: 23.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.593e-05/1.04, allocations: 9.656 kB / 1.314 GB, free: 23.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.04, allocations: 4.125 kB / 1.314 GB, free: 23.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/1.04, allocations: 3.422 kB / 1.314 GB, free: 23.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/1.04, allocations: 462.9 kB / 1.314 GB, free: 22.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/1.041, allocations: 1.325 MB / 1.316 GB, free: 21.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.223e-05/1.041, allocations: 0.6745 MB / 1.316 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.371e-05/1.041, allocations: 2.656 kB / 1.316 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/1.041, allocations: 10.38 kB / 1.316 GB, free: 20.54 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.041, allocations: 0 / 1.316 GB, free: 20.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/1.066, allocations: 1.535 MB / 1.318 GB, free: 20.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.987, allocations: 11.7 kB / 1.318 GB, free: 20.17 MB / 1.061 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_2/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.252028616145253]