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.00159/0.00159, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001742/0.001742, allocations: 215 kB / 20.13 MB, free: 2.949 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.435/1.435, 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 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 2.851/2.851, allocations: 0.49 GB / 0.7923 GB, free: 1.496 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.002035/0.002035, allocations: 71.89 kB / 1.15 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9574/0.9594, allocations: 176.1 MB / 1.321 GB, free: 7.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1972/1.157, allocations: 151.1 MB / 1.469 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001524/1.157, allocations: 55.86 kB / 1.469 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/1.157, allocations: 4 kB / 1.469 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 7.57e-05/1.157, allocations: 3.938 kB / 1.469 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/1.157, allocations: 15.91 kB / 1.469 GB, free: 14.37 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/1.157, allocations: 101.3 kB / 1.469 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/1.158, allocations: 35.84 kB / 1.469 GB, free: 14.24 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 2.902e-05/1.158, allocations: 3.938 kB / 1.469 GB, free: 14.23 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/1.158, allocations: 19.98 kB / 1.469 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/1.158, allocations: 11.98 kB / 1.469 GB, free: 14.2 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/1.158, allocations: 0 / 1.469 GB, free: 14.2 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/1.158, allocations: 91.7 kB / 1.469 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/1.158, allocations: 11.92 kB / 1.469 GB, free: 14.1 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/1.158, allocations: 11.98 kB / 1.469 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/1.158, allocations: 77.55 kB / 1.469 GB, free: 14.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/1.158, allocations: 0 / 1.469 GB, free: 14.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.272e-06/1.158, allocations: 0 / 1.469 GB, free: 14.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.035e-06/1.158, allocations: 0 / 1.469 GB, free: 14.02 MB / 1.154 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.0003915/1.158, allocations: 339.4 kB / 1.47 GB, free: 13.64 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/1.159, allocations: 15.98 kB / 1.47 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.313e-05/1.159, allocations: 192 / 1.47 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/1.159, allocations: 34.75 kB / 1.47 GB, free: 13.58 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/1.159, allocations: 16.92 kB / 1.47 GB, free: 13.56 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.159, allocations: 167.9 kB / 1.47 GB, free: 13.36 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/1.159, allocations: 29.7 kB / 1.47 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/1.159, allocations: 4 kB / 1.47 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/1.159, allocations: 49.67 kB / 1.47 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.159, allocations: 0 / 1.47 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/1.159, allocations: 0 / 1.47 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/1.159, allocations: 7.922 kB / 1.47 GB, free: 13.26 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.289e-05/1.159, allocations: 19.98 kB / 1.47 GB, free: 13.24 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/1.16, allocations: 264.8 kB / 1.47 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/1.16, allocations: 18.56 kB / 1.47 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/1.16, allocations: 12.95 kB / 1.47 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-06/1.16, allocations: 0 / 1.47 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.16, allocations: 34.5 kB / 1.47 GB, free: 12.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/1.16, allocations: 7.875 kB / 1.47 GB, free: 12.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/1.16, allocations: 41.64 kB / 1.471 GB, free: 12.79 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.16, allocations: 55.53 kB / 1.471 GB, free: 12.72 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/1.16, allocations: 105.8 kB / 1.471 GB, free: 12.61 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.16, allocations: 25.7 kB / 1.471 GB, free: 12.58 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/1.16, allocations: 88.05 kB / 1.471 GB, free: 12.49 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/1.16, allocations: 4 kB / 1.471 GB, free: 12.48 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/1.16, allocations: 13.72 kB / 1.471 GB, free: 12.46 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.16, allocations: 318.8 kB / 1.471 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/1.16, allocations: 4 kB / 1.471 GB, free: 12.14 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/1.16, allocations: 30.52 kB / 1.471 GB, free: 12.1 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/1.16, allocations: 30.56 kB / 1.471 GB, free: 12.06 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.16, allocations: 0 / 1.471 GB, free: 12.06 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.902e-05/1.16, allocations: 53.62 kB / 1.471 GB, free: 12 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.16, allocations: 8.094 kB / 1.471 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.16, allocations: 0 / 1.471 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.16, allocations: 7.938 kB / 1.471 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/1.16, allocations: 4.25 kB / 1.471 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.16, allocations: 3.938 kB / 1.471 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/1.161, allocations: 11.95 kB / 1.471 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/1.161, allocations: 0 / 1.471 GB, free: 11.97 MB / 1.154 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.203e-05/1.161, allocations: 113.8 kB / 1.471 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/1.161, allocations: 3.984 kB / 1.471 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/1.161, allocations: 7.125 kB / 1.471 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/1.161, allocations: 7.938 kB / 1.471 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.161, allocations: 0 / 1.471 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/1.161, allocations: 0 / 1.471 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/1.161, allocations: 342.7 kB / 1.472 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.161, allocations: 3.938 kB / 1.472 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/1.161, allocations: 3.938 kB / 1.472 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.161, allocations: 0 / 1.472 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/1.161, allocations: 12.02 kB / 1.472 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.161, allocations: 0 / 1.472 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.161, allocations: 0 / 1.472 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.617e-05/1.161, allocations: 53.14 kB / 1.472 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/1.161, allocations: 92.94 kB / 1.472 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/1.161, allocations: 0 / 1.472 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/1.161, allocations: 3.984 kB / 1.472 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/1.161, allocations: 8.031 kB / 1.472 GB, free: 11.22 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/1.161, allocations: 0 / 1.472 GB, free: 11.22 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.919e-05/1.161, allocations: 83.28 kB / 1.472 GB, free: 11.14 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.161, allocations: 0 / 1.472 GB, free: 11.14 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001847/1.161, allocations: 11.94 kB / 1.472 GB, free: 11.13 MB / 1.154 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.000389/1.162, allocations: 0.6007 MB / 1.473 GB, free: 10.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.319e-05/1.162, allocations: 15.98 kB / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.162, allocations: 3.938 kB / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-06/1.162, allocations: 4 kB / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/1.162, allocations: 1.875 kB / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/1.163, allocations: 144.1 kB / 1.473 GB, free: 10.3 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/1.163, allocations: 0.6809 MB / 1.473 GB, free: 9.59 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.026e-05/1.163, allocations: 4.094 kB / 1.473 GB, free: 9.586 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/1.163, allocations: 11.42 kB / 1.473 GB, free: 9.574 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/1.163, allocations: 0 / 1.473 GB, free: 9.574 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/1.179, allocations: 1.426 MB / 1.475 GB, free: 8.316 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/9.05, allocations: 11.02 kB / 1.475 GB, free: 8.312 MB / 1.154 GB " [Timeout remaining time 291] (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: 15.153349965985399]