Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001419/0.001419, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001472/0.001472, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8 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.253/3.253, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.002/0.002, allocations: 69.77 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3854, allocations: 179 MB / 1.345 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1869/0.5723, allocations: 151.6 MB / 1.493 GB, free: 8.305 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.5724, allocations: 51.86 kB / 1.493 GB, free: 8.254 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.5725, allocations: 0 / 1.493 GB, free: 8.254 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.5726, allocations: 7.922 kB / 1.493 GB, free: 8.246 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.5727, allocations: 11.92 kB / 1.493 GB, free: 8.234 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.5736, allocations: 225.5 kB / 1.494 GB, free: 8.016 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.5737, allocations: 35.86 kB / 1.494 GB, free: 7.98 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.5737, allocations: 7.969 kB / 1.494 GB, free: 7.973 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.5738, allocations: 11.94 kB / 1.494 GB, free: 7.961 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.5738, allocations: 19.97 kB / 1.494 GB, free: 7.941 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.5739, allocations: 4 kB / 1.494 GB, free: 7.938 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.5744, allocations: 215.3 kB / 1.494 GB, free: 7.727 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.5744, allocations: 3.938 kB / 1.494 GB, free: 7.723 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.5744, allocations: 15.98 kB / 1.494 GB, free: 7.707 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.5747, allocations: 111.9 kB / 1.494 GB, free: 7.598 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5747, allocations: 4 kB / 1.494 GB, free: 7.594 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5747, allocations: 0 / 1.494 GB, free: 7.594 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.5747, allocations: 0 / 1.494 GB, free: 7.594 MB / 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.0004787/0.5752, allocations: 266.2 kB / 1.494 GB, free: 7.305 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5753, allocations: 16.03 kB / 1.494 GB, free: 7.289 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.338e-05/0.5753, allocations: 4.125 kB / 1.494 GB, free: 7.285 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.5753, allocations: 30.75 kB / 1.494 GB, free: 7.246 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.5757, allocations: 24.91 kB / 1.494 GB, free: 7.223 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.5758, allocations: 106.1 kB / 1.494 GB, free: 7.094 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.5759, allocations: 59.41 kB / 1.495 GB, free: 7.023 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.5759, allocations: 0 / 1.495 GB, free: 7.023 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.5761, allocations: 53.67 kB / 1.495 GB, free: 6.965 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5761, allocations: 3.938 kB / 1.495 GB, free: 6.961 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5761, allocations: 0 / 1.495 GB, free: 6.961 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.5761, allocations: 4 kB / 1.495 GB, free: 6.957 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.5762, allocations: 23.92 kB / 1.495 GB, free: 6.934 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.5766, allocations: 243.9 kB / 1.495 GB, free: 6.652 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.5767, allocations: 18.58 kB / 1.495 GB, free: 6.625 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.5767, allocations: 16.92 kB / 1.495 GB, free: 6.605 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.5768, allocations: 15.98 kB / 1.495 GB, free: 6.59 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.5768, allocations: 34.56 kB / 1.495 GB, free: 6.547 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5768, allocations: 0 / 1.495 GB, free: 6.547 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0002565/0.5771, allocations: 49.62 kB / 1.495 GB, free: 6.492 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5771, allocations: 59.47 kB / 1.495 GB, free: 6.422 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.5772, allocations: 105.8 kB / 1.495 GB, free: 6.309 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.5773, allocations: 25.7 kB / 1.495 GB, free: 6.277 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.5773, allocations: 88.03 kB / 1.495 GB, free: 6.188 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.5773, allocations: 11.89 kB / 1.495 GB, free: 6.176 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.5774, allocations: 17.72 kB / 1.495 GB, free: 6.152 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5775, allocations: 314.8 kB / 1.496 GB, free: 5.836 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.5775, allocations: 8 kB / 1.496 GB, free: 5.828 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.5776, allocations: 22.58 kB / 1.496 GB, free: 5.797 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.5776, allocations: 34.5 kB / 1.496 GB, free: 5.754 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5776, allocations: 0 / 1.496 GB, free: 5.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.951e-05/0.5777, allocations: 53.72 kB / 1.496 GB, free: 5.695 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5777, allocations: 8 kB / 1.496 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5777, allocations: 4 kB / 1.496 GB, free: 5.684 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5777, allocations: 0 / 1.496 GB, free: 5.684 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.5778, allocations: 7.938 kB / 1.496 GB, free: 5.676 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5778, allocations: 4 kB / 1.496 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.5778, allocations: 3.953 kB / 1.496 GB, free: 5.668 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.5778, allocations: 0 / 1.496 GB, free: 5.668 MB / 1.186 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.756e-05/0.5779, allocations: 117.8 kB / 1.496 GB, free: 5.543 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.578, allocations: 0 / 1.496 GB, free: 5.543 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.578, allocations: 15.3 kB / 1.496 GB, free: 5.523 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.578, allocations: 3.938 kB / 1.496 GB, free: 5.52 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.578, allocations: 0 / 1.496 GB, free: 5.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.578, allocations: 3.938 kB / 1.496 GB, free: 5.516 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.5783, allocations: 330.7 kB / 1.496 GB, free: 5.137 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.5783, allocations: 7.938 kB / 1.496 GB, free: 5.129 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.5784, allocations: 0 / 1.496 GB, free: 5.129 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5784, allocations: 8.062 kB / 1.496 GB, free: 5.121 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.5784, allocations: 0 / 1.496 GB, free: 5.121 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5784, allocations: 0 / 1.496 GB, free: 5.121 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5784, allocations: 0 / 1.496 GB, free: 5.121 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.5785, allocations: 77.94 kB / 1.496 GB, free: 5.023 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.5785, allocations: 7.938 kB / 1.496 GB, free: 5.016 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.5785, allocations: 4 kB / 1.496 GB, free: 5.012 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.5786, allocations: 4.031 kB / 1.496 GB, free: 5.008 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.5786, allocations: 3.938 kB / 1.496 GB, free: 5.004 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5786, allocations: 8 kB / 1.496 GB, free: 4.996 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.5787, allocations: 83.27 kB / 1.496 GB, free: 4.914 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5787, allocations: 0 / 1.496 GB, free: 4.914 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001994/0.5789, allocations: 8 kB / 1.496 GB, free: 4.906 MB / 1.186 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.0004498/0.5793, allocations: 0.6059 MB / 1.497 GB, free: 4.27 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.893e-05/0.5794, allocations: 15.94 kB / 1.497 GB, free: 4.254 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5794, allocations: 3.938 kB / 1.497 GB, free: 4.25 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.5794, allocations: 4.281 kB / 1.497 GB, free: 4.246 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.5797, allocations: 13.14 kB / 1.497 GB, free: 4.234 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.5802, allocations: 157.3 kB / 1.497 GB, free: 4.039 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5805, allocations: 0.6768 MB / 1.498 GB, free: 3.336 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.389e-05/0.5805, allocations: 11.98 kB / 1.498 GB, free: 3.324 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.5806, allocations: 7.438 kB / 1.498 GB, free: 3.32 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.5806, allocations: 0 / 1.498 GB, free: 3.32 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.6032, allocations: 1.603 MB / 1.499 GB, free: 1.863 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.94, allocations: 6.125 kB / 1.499 GB, free: 1.859 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.90715517499484]