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.001068/0.001068, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.000783/0.000783, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8576/0.8576, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.732/1.732, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.699e-06/1.108e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5345/0.5345, allocations: 130.4 MB / 1.127 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001231/0.5346, allocations: 61.28 kB / 1.127 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.5346, allocations: 0 / 1.127 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.5347, allocations: 6.344 kB / 1.127 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.5348, allocations: 6 kB / 1.127 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.5355, allocations: 211.3 kB / 1.127 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.5356, allocations: 37.62 kB / 1.127 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.5356, allocations: 1.891 kB / 1.127 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.5356, allocations: 23.31 kB / 1.127 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.5357, allocations: 17.52 kB / 1.127 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.5357, allocations: 1.125 kB / 1.127 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.536, allocations: 160.4 kB / 1.127 GB, free: 3.027 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.536, allocations: 9.234 kB / 1.127 GB, free: 3.023 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.5361, allocations: 15.08 kB / 1.127 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.5363, allocations: 113.3 kB / 1.128 GB, free: 2.984 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5363, allocations: 0 / 1.128 GB, free: 2.984 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5363, allocations: 4 kB / 1.128 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5363, allocations: 1.219 kB / 1.128 GB, free: 2.98 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.0003078/0.5366, allocations: 269.7 kB / 1.128 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5366, allocations: 10.06 kB / 1.128 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.41e-05/0.5366, allocations: 40.31 kB / 1.128 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.5369, allocations: 23.58 kB / 1.128 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.682e-05/0.537, allocations: 109.2 kB / 1.128 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.537, allocations: 53.25 kB / 1.128 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.537, allocations: 5.031 kB / 1.128 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.5371, allocations: 77.77 kB / 1.128 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.5371, allocations: 0 / 1.128 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.5371, allocations: 1.875 kB / 1.128 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.5371, allocations: 2.344 kB / 1.128 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.5372, allocations: 24.56 kB / 1.128 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.5374, allocations: 227.2 kB / 1.128 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.5375, allocations: 24.44 kB / 1.128 GB, free: 2.129 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.5375, allocations: 7.047 kB / 1.128 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.845e-05/0.5376, allocations: 19.45 kB / 1.128 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.5376, allocations: 36.16 kB / 1.128 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5376, allocations: 0 / 1.128 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001631/0.5378, allocations: 51.83 kB / 1.129 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.5378, allocations: 52.47 kB / 1.129 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.404e-05/0.5378, allocations: 107.9 kB / 1.129 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.5378, allocations: 28.98 kB / 1.129 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.5378, allocations: 86.56 kB / 1.129 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/0.5379, allocations: 8.984 kB / 1.129 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.5379, allocations: 26.52 kB / 1.129 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.7e-05/0.5379, allocations: 317 kB / 1.129 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.5379, allocations: 5.031 kB / 1.129 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.889e-05/0.5379, allocations: 25.83 kB / 1.129 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.538, allocations: 32.97 kB / 1.129 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.538, allocations: 0 / 1.129 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.283e-05/0.538, allocations: 61.19 kB / 1.129 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.538, allocations: 7.109 kB / 1.129 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.538, allocations: 1.25 kB / 1.129 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.538, allocations: 1.156 kB / 1.129 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-05/0.5381, allocations: 6.688 kB / 1.129 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5381, allocations: 1.75 kB / 1.129 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.5381, allocations: 5.062 kB / 1.129 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.5381, allocations: 2.281 kB / 1.129 GB, free: 1.293 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 3.568e-05/0.5382, allocations: 113.7 kB / 1.129 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.5382, allocations: 1.281 kB / 1.129 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.5382, allocations: 13.33 kB / 1.129 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5382, allocations: 1.219 kB / 1.129 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5382, allocations: 0 / 1.129 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5382, allocations: 0.7969 kB / 1.129 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.5383, allocations: 338.9 kB / 1.13 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5383, allocations: 1.125 kB / 1.13 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-06/0.5383, allocations: 3.078 kB / 1.13 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.5383, allocations: 1.625 kB / 1.13 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.5383, allocations: 1.25 kB / 1.13 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5383, allocations: 8.609 kB / 1.13 GB, free: 0.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5383, allocations: 1.125 kB / 1.13 GB, free: 0.793 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.102e-05/0.5384, allocations: 71.58 kB / 1.13 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-06/0.5384, allocations: 9.828 kB / 1.13 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.5384, allocations: 3.047 kB / 1.13 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.5384, allocations: 7.797 kB / 1.13 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.5385, allocations: 2.031 kB / 1.13 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.5385, allocations: 3.188 kB / 1.13 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.699e-05/0.5385, allocations: 86.16 kB / 1.13 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5385, allocations: 0 / 1.13 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001234/0.5386, allocations: 9.75 kB / 1.13 GB, free: 0.6211 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.000165/0.5388, allocations: 0.6026 MB / 1.13 GB, free: 20 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.257e-05/0.5388, allocations: 18.89 kB / 1.131 GB, free: 12 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5388, allocations: 1.188 kB / 1.131 GB, free: 12 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.5388, allocations: 8.016 kB / 1.131 GB, free: 8 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.539, allocations: 11.81 kB / 1.131 GB, free: 4 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.5393, allocations: 152.7 kB / 1.131 GB, free: 15.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.5394, allocations: 60.42 kB / 1.131 GB, free: 15.77 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.5394, allocations: 5.266 kB / 1.131 GB, free: 15.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.5394, allocations: 15.64 kB / 1.131 GB, free: 15.77 MB / 1.01 GB Notification: Performance of SimCode: time 4.41e-07/0.5394, allocations: 4 kB / 1.131 GB, free: 15.77 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.5531, allocations: 2.131 MB / 1.133 GB, free: 14.88 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.426/6.979, allocations: 11.34 kB / 1.133 GB, free: 14.88 MB / 1.01 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/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: 11.040449719876051]