Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001641/0.001641, allocations: 110 kB / 16.46 MB, free: 6.453 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.001973/0.001973, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.029/3.029, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.001953/0.001953, allocations: 74.97 kB / 1.149 GB, free: 26.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.341, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1728/0.5138, allocations: 151.1 MB / 1.468 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.514, allocations: 59.8 kB / 1.468 GB, free: 11.51 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.514, allocations: 0 / 1.468 GB, free: 11.51 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.5142, allocations: 0 / 1.468 GB, free: 11.51 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.5143, allocations: 19.91 kB / 1.468 GB, free: 11.49 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.5148, allocations: 115.2 kB / 1.469 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.5149, allocations: 27.92 kB / 1.469 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.515, allocations: 7.984 kB / 1.469 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.515, allocations: 19.86 kB / 1.469 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.5151, allocations: 11.98 kB / 1.469 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.5151, allocations: 0 / 1.469 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.5154, allocations: 91.72 kB / 1.469 GB, free: 11.22 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.5155, allocations: 19.91 kB / 1.469 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.5155, allocations: 8 kB / 1.469 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.5157, allocations: 72.06 kB / 1.469 GB, free: 11.12 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5157, allocations: 0 / 1.469 GB, free: 11.12 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5157, allocations: 4 kB / 1.469 GB, free: 11.12 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.5158, allocations: 0 / 1.469 GB, free: 11.12 MB / 1.17 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.0004876/0.5162, allocations: 343.3 kB / 1.469 GB, free: 10.74 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5163, allocations: 11.98 kB / 1.469 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.5163, allocations: 38.73 kB / 1.469 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.5166, allocations: 16.92 kB / 1.469 GB, free: 10.66 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.5167, allocations: 168.1 kB / 1.469 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.5168, allocations: 29.64 kB / 1.469 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5168, allocations: 0 / 1.469 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.517, allocations: 49.67 kB / 1.469 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.517, allocations: 0 / 1.469 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.517, allocations: 4 kB / 1.469 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.517, allocations: 4 kB / 1.469 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.5171, allocations: 15.98 kB / 1.469 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.5175, allocations: 260.9 kB / 1.47 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.5176, allocations: 26.5 kB / 1.47 GB, free: 10.01 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.5176, allocations: 4.859 kB / 1.47 GB, free: 10 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.5176, allocations: 4 kB / 1.47 GB, free: 9.996 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.5176, allocations: 34.62 kB / 1.47 GB, free: 9.953 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.5176, allocations: 4 kB / 1.47 GB, free: 9.949 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.5178, allocations: 33.64 kB / 1.47 GB, free: 9.91 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.5178, allocations: 63.22 kB / 1.47 GB, free: 9.836 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5179, allocations: 105.8 kB / 1.47 GB, free: 9.723 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5179, allocations: 25.7 kB / 1.47 GB, free: 9.691 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.518, allocations: 104.2 kB / 1.47 GB, free: 9.586 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.518, allocations: 3.938 kB / 1.47 GB, free: 9.582 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.518, allocations: 13.72 kB / 1.47 GB, free: 9.562 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5182, allocations: 314.8 kB / 1.47 GB, free: 9.246 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.5182, allocations: 4.25 kB / 1.47 GB, free: 9.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.5182, allocations: 22.56 kB / 1.47 GB, free: 9.211 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.5183, allocations: 38.52 kB / 1.47 GB, free: 9.164 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5183, allocations: 0 / 1.47 GB, free: 9.164 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.724e-05/0.5184, allocations: 53.62 kB / 1.471 GB, free: 9.105 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5184, allocations: 8 kB / 1.471 GB, free: 9.098 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5184, allocations: 0 / 1.471 GB, free: 9.098 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5184, allocations: 0 / 1.471 GB, free: 9.098 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.5185, allocations: 7.938 kB / 1.471 GB, free: 9.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5185, allocations: 8.094 kB / 1.471 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.5185, allocations: 7.953 kB / 1.471 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.5185, allocations: 7.984 kB / 1.471 GB, free: 9.066 MB / 1.17 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.81e-05/0.5186, allocations: 105.8 kB / 1.471 GB, free: 8.953 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.5187, allocations: 4 kB / 1.471 GB, free: 8.949 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.5187, allocations: 3.125 kB / 1.471 GB, free: 8.945 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.5187, allocations: 3.938 kB / 1.471 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5187, allocations: 0 / 1.471 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5187, allocations: 0 / 1.471 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.519, allocations: 354.7 kB / 1.471 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.519, allocations: 0 / 1.471 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.519, allocations: 7.938 kB / 1.471 GB, free: 8.527 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.519, allocations: 0 / 1.471 GB, free: 8.527 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.519, allocations: 0 / 1.471 GB, free: 8.527 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.519, allocations: 0 / 1.471 GB, free: 8.527 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.519, allocations: 0 / 1.471 GB, free: 8.527 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.987e-05/0.5191, allocations: 61.11 kB / 1.471 GB, free: 8.449 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.5191, allocations: 88.98 kB / 1.471 GB, free: 8.344 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.5192, allocations: 0 / 1.471 GB, free: 8.344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.5193, allocations: 11.94 kB / 1.471 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.5193, allocations: 0 / 1.471 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.5193, allocations: 0 / 1.471 GB, free: 8.332 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.5193, allocations: 83.27 kB / 1.471 GB, free: 8.25 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5193, allocations: 0 / 1.471 GB, free: 8.25 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001894/0.5195, allocations: 12.03 kB / 1.471 GB, free: 8.238 MB / 1.17 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.0003859/0.5199, allocations: 0.5969 MB / 1.472 GB, free: 7.613 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.753e-05/0.52, allocations: 15.94 kB / 1.472 GB, free: 7.598 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.52, allocations: 224 / 1.472 GB, free: 7.598 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.644e-06/0.52, allocations: 8 kB / 1.472 GB, free: 7.59 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.5202, allocations: 8 kB / 1.472 GB, free: 7.582 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.5206, allocations: 148.1 kB / 1.472 GB, free: 7.398 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.5209, allocations: 0.6729 MB / 1.473 GB, free: 6.699 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.521, allocations: 12.05 kB / 1.473 GB, free: 6.688 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.521, allocations: 7.438 kB / 1.473 GB, free: 6.68 MB / 1.17 GB Notification: Performance of SimCode: time 3.41e-07/0.521, allocations: 0 / 1.473 GB, free: 6.68 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.5462, allocations: 1.37 MB / 1.474 GB, free: 5.457 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/8.052, allocations: 15.72 kB / 1.474 GB, free: 5.441 MB / 1.17 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.298548575025052]