Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.0008681/0.0008681, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008093/0.0008093, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8642/0.8642, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 0.9504 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.746e-05, allocations: 10.28 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6684/0.6685, allocations: 130.4 MB / 1.078 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.000187/0.6686, allocations: 57.8 kB / 1.078 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.6687, allocations: 0 / 1.078 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.6688, allocations: 3.938 kB / 1.078 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.6689, allocations: 11.72 kB / 1.078 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.6697, allocations: 213.8 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.6698, allocations: 34.59 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.6698, allocations: 3.281 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.6699, allocations: 21.73 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.67, allocations: 13.39 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.67, allocations: 2.562 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.6703, allocations: 161.5 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.6703, allocations: 12.39 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.6703, allocations: 8.562 kB / 1.078 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.6705, allocations: 118 kB / 1.078 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6705, allocations: 4 kB / 1.078 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6705, allocations: 0 / 1.078 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.6706, allocations: 2.344 kB / 1.078 GB, free: 40.25 MB / 0.9948 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.0003316/0.6709, allocations: 260.2 kB / 1.079 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6709, allocations: 15.3 kB / 1.079 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.671, allocations: 30.75 kB / 1.079 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.6712, allocations: 27.05 kB / 1.079 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.487e-05/0.6713, allocations: 111.3 kB / 1.079 GB, free: 39.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.6714, allocations: 54.97 kB / 1.079 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.6714, allocations: 7.938 kB / 1.079 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.6715, allocations: 79.03 kB / 1.079 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.6715, allocations: 0 / 1.079 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.6715, allocations: 0 / 1.079 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.6715, allocations: 2.75 kB / 1.079 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.6716, allocations: 26.89 kB / 1.079 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.6719, allocations: 227 kB / 1.079 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.672, allocations: 26.97 kB / 1.079 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.672, allocations: 4.859 kB / 1.079 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.6721, allocations: 18.28 kB / 1.079 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.6722, allocations: 36.84 kB / 1.079 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.6722, allocations: 0 / 1.079 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0002292/0.6724, allocations: 49.34 kB / 1.079 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.6724, allocations: 54.16 kB / 1.079 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.6725, allocations: 107.3 kB / 1.08 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.6725, allocations: 25.83 kB / 1.08 GB, free: 39.15 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.6725, allocations: 92.36 kB / 1.08 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.6725, allocations: 5.906 kB / 1.08 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.6726, allocations: 18.72 kB / 1.08 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.6726, allocations: 321.2 kB / 1.08 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.6726, allocations: 2.719 kB / 1.08 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.6727, allocations: 23.77 kB / 1.08 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.6727, allocations: 36.08 kB / 1.08 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6727, allocations: 0 / 1.08 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.809e-05/0.6728, allocations: 55.72 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6728, allocations: 7.438 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.6728, allocations: 2.328 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.6728, allocations: 2.594 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.6729, allocations: 8.25 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.6729, allocations: 3.625 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.6729, allocations: 6.797 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.6729, allocations: 2.562 kB / 1.08 GB, free: 38.63 MB / 0.9948 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 5.687e-05/0.673, allocations: 115.9 kB / 1.08 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.673, allocations: 4 kB / 1.08 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.673, allocations: 8.969 kB / 1.08 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.673, allocations: 0 / 1.08 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.673, allocations: 6.75 kB / 1.08 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.673, allocations: 1.094 kB / 1.08 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.6732, allocations: 331.3 kB / 1.081 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6732, allocations: 2.906 kB / 1.081 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.6733, allocations: 6.75 kB / 1.081 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6733, allocations: 0 / 1.081 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6733, allocations: 64 / 1.081 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6733, allocations: 10.81 kB / 1.081 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6733, allocations: 0 / 1.081 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.695e-05/0.6733, allocations: 68.19 kB / 1.081 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-06/0.6733, allocations: 7.891 kB / 1.081 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.6734, allocations: 3.938 kB / 1.081 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.6734, allocations: 10.55 kB / 1.081 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.6734, allocations: 288 / 1.081 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.6735, allocations: 2.844 kB / 1.081 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.562e-05/0.6735, allocations: 85.77 kB / 1.081 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6735, allocations: 4.031 kB / 1.081 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001415/0.6736, allocations: 9.625 kB / 1.081 GB, free: 37.97 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002814/0.6739, allocations: 0.6051 MB / 1.081 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.78e-05/0.674, allocations: 15.72 kB / 1.081 GB, free: 37.37 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.674, allocations: 0 / 1.081 GB, free: 37.37 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.674, allocations: 10.48 kB / 1.081 GB, free: 37.37 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.6743, allocations: 14.27 kB / 1.081 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.6746, allocations: 145.3 kB / 1.082 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.6747, allocations: 60.03 kB / 1.082 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.6747, allocations: 9.188 kB / 1.082 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.6748, allocations: 16 kB / 1.082 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of SimCode: time 4.81e-07/0.6748, allocations: 0 / 1.082 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.692, allocations: 2.124 MB / 1.084 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/7.543, allocations: 14.41 kB / 1.084 GB, free: 36.25 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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: 11.522509965114295]