Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001358/0.001358, 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.00132/0.00132, 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.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.935/2.935, allocations: 497.2 MB / 0.7812 GB, free: 11.89 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.88 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9827/0.9848, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1759/1.161, allocations: 148.3 MB / 1.449 GB, free: 4.258 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001672/1.161, allocations: 53.92 kB / 1.449 GB, free: 4.223 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/1.161, allocations: 7.938 kB / 1.449 GB, free: 4.215 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/1.161, allocations: 2.391 kB / 1.449 GB, free: 4.215 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/1.161, allocations: 13.8 kB / 1.449 GB, free: 4.207 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/1.162, allocations: 109.9 kB / 1.449 GB, free: 4.156 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.827e-05/1.162, allocations: 37.64 kB / 1.449 GB, free: 4.141 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/1.162, allocations: 2.188 kB / 1.449 GB, free: 4.141 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/1.162, allocations: 19.28 kB / 1.449 GB, free: 4.133 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/1.162, allocations: 21.56 kB / 1.449 GB, free: 4.121 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/1.162, allocations: 1.062 kB / 1.449 GB, free: 4.121 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/1.162, allocations: 89.06 kB / 1.449 GB, free: 4.086 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/1.162, allocations: 5.438 kB / 1.449 GB, free: 4.086 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/1.162, allocations: 15.25 kB / 1.449 GB, free: 4.078 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/1.162, allocations: 78.62 kB / 1.449 GB, free: 4.055 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/1.162, allocations: 0 / 1.449 GB, free: 4.055 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.372e-06/1.162, allocations: 0 / 1.449 GB, free: 4.055 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.829e-06/1.162, allocations: 1.5 kB / 1.449 GB, free: 4.055 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00048/1.163, allocations: 340.7 kB / 1.45 GB, free: 3.691 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.163, allocations: 9.625 kB / 1.45 GB, free: 3.691 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/1.163, allocations: 33.23 kB / 1.45 GB, free: 3.652 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/1.163, allocations: 16.52 kB / 1.45 GB, free: 3.652 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.163, allocations: 166.7 kB / 1.45 GB, free: 3.453 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/1.163, allocations: 31.62 kB / 1.45 GB, free: 3.418 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/1.163, allocations: 1.094 kB / 1.45 GB, free: 3.418 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/1.164, allocations: 54.62 kB / 1.45 GB, free: 3.375 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.164, allocations: 0 / 1.45 GB, free: 3.375 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.164, allocations: 1.844 kB / 1.45 GB, free: 3.375 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.164, allocations: 2.094 kB / 1.45 GB, free: 3.375 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/1.164, allocations: 18.75 kB / 1.45 GB, free: 3.371 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/1.164, allocations: 263 kB / 1.45 GB, free: 3.09 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/1.164, allocations: 21.47 kB / 1.45 GB, free: 3.062 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/1.164, allocations: 5.922 kB / 1.45 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/1.164, allocations: 1.125 kB / 1.45 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.164, allocations: 35.25 kB / 1.45 GB, free: 3.012 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.164, allocations: 1 kB / 1.45 GB, free: 3.012 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001685/1.164, allocations: 35.8 kB / 1.45 GB, free: 2.977 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.165, allocations: 56.56 kB / 1.45 GB, free: 2.91 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.165, allocations: 112.9 kB / 1.45 GB, free: 2.801 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.165, allocations: 26.83 kB / 1.45 GB, free: 2.77 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/1.165, allocations: 90.27 kB / 1.45 GB, free: 2.68 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/1.165, allocations: 5.047 kB / 1.45 GB, free: 2.676 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/1.165, allocations: 17.83 kB / 1.45 GB, free: 2.656 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.165, allocations: 313.5 kB / 1.451 GB, free: 2.344 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/1.165, allocations: 4.062 kB / 1.451 GB, free: 2.344 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/1.165, allocations: 33.61 kB / 1.451 GB, free: 2.309 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/1.165, allocations: 32.3 kB / 1.451 GB, free: 2.277 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.165, allocations: 0 / 1.451 GB, free: 2.277 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/1.165, allocations: 53.7 kB / 1.451 GB, free: 2.238 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.165, allocations: 5.406 kB / 1.451 GB, free: 2.238 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.165, allocations: 5.766 kB / 1.451 GB, free: 2.234 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.165, allocations: 5.078 kB / 1.451 GB, free: 2.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/1.165, allocations: 14.33 kB / 1.451 GB, free: 2.223 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/1.165, allocations: 1.844 kB / 1.451 GB, free: 2.223 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/1.165, allocations: 1.094 kB / 1.451 GB, free: 2.223 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/1.165, allocations: 2.156 kB / 1.451 GB, free: 2.223 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.468e-05/1.165, allocations: 109.1 kB / 1.451 GB, free: 2.109 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/1.165, allocations: 10.11 kB / 1.451 GB, free: 2.102 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/1.165, allocations: 8.969 kB / 1.451 GB, free: 2.094 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.165, allocations: 3.938 kB / 1.451 GB, free: 2.09 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.165, allocations: 0.6562 kB / 1.451 GB, free: 2.09 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.165, allocations: 0.9062 kB / 1.451 GB, free: 2.09 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/1.166, allocations: 348.8 kB / 1.451 GB, free: 1.703 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.166, allocations: 0.75 kB / 1.451 GB, free: 1.703 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/1.166, allocations: 5.031 kB / 1.451 GB, free: 1.699 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.166, allocations: 1.062 kB / 1.451 GB, free: 1.699 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/1.166, allocations: 0.75 kB / 1.451 GB, free: 1.699 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.166, allocations: 4.969 kB / 1.451 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.166, allocations: 0 / 1.451 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.006e-05/1.166, allocations: 57.3 kB / 1.451 GB, free: 1.629 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/1.166, allocations: 83.47 kB / 1.452 GB, free: 1.531 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/1.166, allocations: 1.031 kB / 1.452 GB, free: 1.531 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/1.166, allocations: 7.844 kB / 1.452 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/1.166, allocations: 0.5156 kB / 1.452 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/1.166, allocations: 5 kB / 1.452 GB, free: 1.523 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.974e-05/1.166, allocations: 86.92 kB / 1.452 GB, free: 1.445 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.166, allocations: 3.938 kB / 1.452 GB, free: 1.441 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002124/1.166, allocations: 6.562 kB / 1.452 GB, free: 1.441 MB / 1.139 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 (1): * Single equations (assignments): 1 * 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.0004282/1.167, allocations: 0.6047 MB / 1.452 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 9.544e-05/1.167, allocations: 13.45 kB / 1.452 GB, free: 0.832 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.167, allocations: 1.438 kB / 1.452 GB, free: 0.832 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-06/1.167, allocations: 1.469 kB / 1.452 GB, free: 0.832 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/1.167, allocations: 11.81 kB / 1.452 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/1.168, allocations: 136 kB / 1.452 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/1.168, allocations: 0.684 MB / 1.453 GB, free: 15.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.85e-05/1.168, allocations: 5.609 kB / 1.453 GB, free: 15.98 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/1.168, allocations: 9.172 kB / 1.453 GB, free: 15.97 MB / 1.154 GB Notification: Performance of SimCode: time 4.21e-07/1.168, allocations: 0 / 1.453 GB, free: 15.97 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/1.195, allocations: 1.385 MB / 1.454 GB, free: 15.65 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/9.204, allocations: 10.14 kB / 1.454 GB, free: 15.64 MB / 1.154 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.661710890941322]