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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 109.6 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7635 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002038/0.002038, allocations: 67.89 kB / 1.108 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8585/0.8605, allocations: 168.7 MB / 1.272 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1745/1.035, allocations: 148.8 MB / 1.418 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001563/1.035, allocations: 47.84 kB / 1.418 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/1.035, allocations: 8 kB / 1.418 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/1.035, allocations: 3.938 kB / 1.418 GB, free: 14.95 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/1.035, allocations: 15.97 kB / 1.418 GB, free: 14.94 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/1.036, allocations: 211.2 kB / 1.418 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/1.036, allocations: 35.91 kB / 1.418 GB, free: 14.7 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/1.036, allocations: 7.984 kB / 1.418 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/1.036, allocations: 15.94 kB / 1.418 GB, free: 14.67 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/1.036, allocations: 19.91 kB / 1.418 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/1.036, allocations: 0 / 1.418 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/1.037, allocations: 207.4 kB / 1.418 GB, free: 14.45 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/1.037, allocations: 7.984 kB / 1.418 GB, free: 14.44 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/1.037, allocations: 19.88 kB / 1.418 GB, free: 14.42 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/1.037, allocations: 113.5 kB / 1.418 GB, free: 14.31 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.037, allocations: 0 / 1.418 GB, free: 14.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.432e-06/1.037, allocations: 0 / 1.418 GB, free: 14.31 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.037, allocations: 4 kB / 1.418 GB, free: 14.31 MB / 1.123 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.0005101/1.038, allocations: 343.4 kB / 1.419 GB, free: 13.93 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.038, allocations: 8.031 kB / 1.419 GB, free: 13.92 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/1.038, allocations: 38.75 kB / 1.419 GB, free: 13.87 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/1.038, allocations: 20.91 kB / 1.419 GB, free: 13.85 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/1.039, allocations: 176 kB / 1.419 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/1.039, allocations: 29.7 kB / 1.419 GB, free: 13.61 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/1.039, allocations: 4 kB / 1.419 GB, free: 13.6 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/1.039, allocations: 45.69 kB / 1.419 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.039, allocations: 0 / 1.419 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/1.039, allocations: 7.969 kB / 1.419 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/1.039, allocations: 4 kB / 1.419 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/1.039, allocations: 19.98 kB / 1.419 GB, free: 13.52 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/1.039, allocations: 256.8 kB / 1.419 GB, free: 13.22 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/1.039, allocations: 34.55 kB / 1.419 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/1.039, allocations: 8.922 kB / 1.419 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/1.04, allocations: 89.09 kB / 1.419 GB, free: 13.06 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.04, allocations: 34.56 kB / 1.419 GB, free: 13.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.04, allocations: 4 kB / 1.419 GB, free: 13.01 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0002671/1.04, allocations: 53.62 kB / 1.419 GB, free: 12.95 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/1.04, allocations: 55.34 kB / 1.419 GB, free: 12.89 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/1.04, allocations: 101.8 kB / 1.42 GB, free: 12.78 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/1.04, allocations: 25.7 kB / 1.42 GB, free: 12.75 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/1.04, allocations: 88.09 kB / 1.42 GB, free: 12.66 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/1.04, allocations: 7.953 kB / 1.42 GB, free: 12.65 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/1.04, allocations: 13.72 kB / 1.42 GB, free: 12.63 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.04, allocations: 319 kB / 1.42 GB, free: 12.31 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/1.04, allocations: 7.922 kB / 1.42 GB, free: 12.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/1.04, allocations: 26.58 kB / 1.42 GB, free: 12.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/1.04, allocations: 34.5 kB / 1.42 GB, free: 12.22 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.04, allocations: 0 / 1.42 GB, free: 12.22 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.503e-05/1.041, allocations: 57.59 kB / 1.42 GB, free: 12.16 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.041, allocations: 4 kB / 1.42 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/1.041, allocations: 4 kB / 1.42 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.041, allocations: 3.984 kB / 1.42 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/1.041, allocations: 4 kB / 1.42 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.041, allocations: 7.938 kB / 1.42 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/1.041, allocations: 0 / 1.42 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/1.041, allocations: 7.938 kB / 1.42 GB, free: 12.13 MB / 1.123 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 0.0001043/1.041, allocations: 113.9 kB / 1.42 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/1.041, allocations: 0 / 1.42 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/1.041, allocations: 11.12 kB / 1.42 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.041, allocations: 0 / 1.42 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.041, allocations: 3.938 kB / 1.42 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.041, allocations: 3.984 kB / 1.42 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/1.041, allocations: 359.5 kB / 1.421 GB, free: 11.58 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.041, allocations: 4.062 kB / 1.421 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/1.041, allocations: 11.92 kB / 1.421 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.041, allocations: 0 / 1.421 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.041, allocations: 7.938 kB / 1.421 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.041, allocations: 0 / 1.421 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.041, allocations: 288 / 1.421 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.483e-05/1.041, allocations: 69.95 kB / 1.421 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/1.041, allocations: 93.05 kB / 1.421 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.041, allocations: 0 / 1.421 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/1.042, allocations: 4 kB / 1.421 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/1.042, allocations: 0 / 1.421 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/1.042, allocations: 4 kB / 1.421 GB, free: 11.35 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.834e-05/1.042, allocations: 83.27 kB / 1.421 GB, free: 11.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 5e-08/1.042, allocations: 0 / 1.421 GB, free: 11.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001961/1.042, allocations: 8 kB / 1.421 GB, free: 11.26 MB / 1.123 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.0004573/1.042, allocations: 0.6137 MB / 1.422 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 9.042e-05/1.042, allocations: 15.94 kB / 1.422 GB, free: 10.6 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.042, allocations: 8.156 kB / 1.422 GB, free: 10.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/1.042, allocations: 8 kB / 1.422 GB, free: 10.58 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/1.043, allocations: 1.875 kB / 1.422 GB, free: 10.58 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/1.043, allocations: 153.1 kB / 1.422 GB, free: 10.39 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.043, allocations: 0.6806 MB / 1.422 GB, free: 9.684 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.308e-05/1.043, allocations: 8.125 kB / 1.422 GB, free: 9.676 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/1.043, allocations: 7.438 kB / 1.422 GB, free: 9.668 MB / 1.123 GB Notification: Performance of SimCode: time 2.6e-07/1.043, allocations: 0 / 1.422 GB, free: 9.668 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/1.069, allocations: 1.447 MB / 1.424 GB, free: 8.305 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.964, allocations: 1.891 kB / 1.424 GB, free: 8.305 MB / 1.123 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.97057867096737]