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.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.001376/0.001376, allocations: 113 kB / 18.94 MB, free: 2.934 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.001556/0.001556, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.012 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.332/3.332, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.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: 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.001978/0.001978, allocations: 74.48 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.399, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.181/0.5799, allocations: 151.2 MB / 1.5 GB, free: 0.707 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.000144/0.5801, allocations: 55.8 kB / 1.501 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.5801, allocations: 4 kB / 1.501 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.5802, allocations: 4 kB / 1.501 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.5803, allocations: 15.91 kB / 1.501 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.5808, allocations: 107.6 kB / 1.501 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.5809, allocations: 31.92 kB / 1.501 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.5809, allocations: 3.984 kB / 1.501 GB, free: 500 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.581, allocations: 23.86 kB / 1.501 GB, free: 476 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.5811, allocations: 15.98 kB / 1.501 GB, free: 460 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.5811, allocations: 0 / 1.501 GB, free: 460 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.5814, allocations: 91.7 kB / 1.501 GB, free: 368 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.5814, allocations: 11.98 kB / 1.501 GB, free: 356 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.5815, allocations: 15.92 kB / 1.501 GB, free: 340 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.5816, allocations: 68.08 kB / 1.501 GB, free: 272 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5816, allocations: 0 / 1.501 GB, free: 272 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5817, allocations: 0 / 1.501 GB, free: 272 kB / 1.186 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.5817, allocations: 0 / 1.501 GB, free: 272 kB / 1.186 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.0004204/0.5821, allocations: 278.2 kB / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5821, allocations: 8.031 kB / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.5822, allocations: 34.75 kB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.5824, allocations: 16.92 kB / 1.501 GB, free: 15.9 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.5825, allocations: 110.3 kB / 1.501 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.5826, allocations: 51.41 kB / 1.501 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.5826, allocations: 0 / 1.501 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5827, allocations: 57.61 kB / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5827, allocations: 0 / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5827, allocations: 0 / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.5828, allocations: 7.938 kB / 1.501 GB, free: 15.63 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.5828, allocations: 15.98 kB / 1.501 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.5832, allocations: 235.9 kB / 1.502 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.5833, allocations: 26.52 kB / 1.502 GB, free: 15.31 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.5833, allocations: 4.859 kB / 1.502 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5833, allocations: 0 / 1.502 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.5834, allocations: 34.56 kB / 1.502 GB, free: 15.26 MB / 1.201 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5834, allocations: 4.062 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of matching and sorting (n=1): time 0.0001511/0.5835, allocations: 33.69 kB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5836, allocations: 55.34 kB / 1.502 GB, free: 15.15 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.5836, allocations: 110 kB / 1.502 GB, free: 15.03 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.5837, allocations: 25.7 kB / 1.502 GB, free: 15 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.5837, allocations: 100 kB / 1.502 GB, free: 14.9 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.5837, allocations: 7.875 kB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.5838, allocations: 13.72 kB / 1.502 GB, free: 14.87 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5839, allocations: 314.8 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.5839, allocations: 4 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.584, allocations: 26.56 kB / 1.502 GB, free: 14.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.555e-05/0.584, allocations: 30.52 kB / 1.502 GB, free: 14.48 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.584, allocations: 0 / 1.502 GB, free: 14.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.746e-05/0.5841, allocations: 61.52 kB / 1.502 GB, free: 14.41 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5841, allocations: 4 kB / 1.503 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5841, allocations: 4.094 kB / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5841, allocations: 4 kB / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.5842, allocations: 7.938 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5842, allocations: 4 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.5843, allocations: 4 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.5843, allocations: 7.984 kB / 1.503 GB, free: 14.38 MB / 1.201 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 8.319e-05/0.5843, allocations: 110.4 kB / 1.503 GB, free: 14.26 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.5844, allocations: 4 kB / 1.503 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.5844, allocations: 3.156 kB / 1.503 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.5844, allocations: 7.938 kB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5844, allocations: 0 / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5844, allocations: 0 / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.5847, allocations: 321.8 kB / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5847, allocations: 0 / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.5847, allocations: 7.938 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5847, allocations: 0 / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5847, allocations: 0 / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5847, allocations: 0 / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5847, allocations: 4.031 kB / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.727e-05/0.5848, allocations: 57.34 kB / 1.503 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.5848, allocations: 19.86 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.5848, allocations: 4 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.5849, allocations: 4 kB / 1.503 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.5849, allocations: 3.938 kB / 1.503 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.5849, allocations: 0 / 1.503 GB, free: 13.76 MB / 1.201 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.585, allocations: 91.3 kB / 1.503 GB, free: 13.67 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.585, allocations: 0 / 1.503 GB, free: 13.67 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002028/0.5852, allocations: 8 kB / 1.503 GB, free: 13.66 MB / 1.201 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.000413/0.5856, allocations: 0.5956 MB / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.5857, allocations: 15.97 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5857, allocations: 0 / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.5857, allocations: 4 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.586, allocations: 7.812 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.5865, allocations: 136.5 kB / 1.504 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.5868, allocations: 0.6729 MB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 5.993e-05/0.5869, allocations: 12.23 kB / 1.505 GB, free: 12.13 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.5869, allocations: 11.44 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.5869, allocations: 7.938 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.6167, allocations: 1.47 MB / 1.506 GB, free: 10.8 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.45, allocations: 6.562 kB / 1.506 GB, free: 10.8 MB / 1.201 GB " [Timeout remaining time 288] (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/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: 18.340229887980968]