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.001302/0.001302, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002374/0.002374, allocations: 212.2 kB / 22.25 MB, free: 5.082 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.008 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.331/3.331, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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="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: 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.002062/0.002062, allocations: 71.73 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.192/0.533, allocations: 151.6 MB / 1.501 GB, free: 256 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.5331, allocations: 51.81 kB / 1.501 GB, free: 204 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.5332, allocations: 0 / 1.501 GB, free: 204 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.5333, allocations: 3.984 kB / 1.501 GB, free: 200 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.5334, allocations: 15.92 kB / 1.501 GB, free: 184 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.5343, allocations: 221.5 kB / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.5344, allocations: 39.78 kB / 1.501 GB, free: 15.93 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.5344, allocations: 7.984 kB / 1.501 GB, free: 15.92 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.5344, allocations: 15.98 kB / 1.501 GB, free: 15.9 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.5345, allocations: 11.98 kB / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.5345, allocations: 0 / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.535, allocations: 211.3 kB / 1.501 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.535, allocations: 11.94 kB / 1.501 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.5351, allocations: 15.97 kB / 1.501 GB, free: 15.66 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.5353, allocations: 119.6 kB / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5353, allocations: 0 / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5353, allocations: 0 / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5353, allocations: 0 / 1.502 GB, free: 15.54 MB / 1.201 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.000433/0.5358, allocations: 266.2 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5358, allocations: 8.031 kB / 1.502 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.5359, allocations: 38.73 kB / 1.502 GB, free: 15.2 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.5362, allocations: 24.91 kB / 1.502 GB, free: 15.17 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.5363, allocations: 114.3 kB / 1.502 GB, free: 15.04 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/0.5364, allocations: 51.41 kB / 1.502 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.5364, allocations: 3.938 kB / 1.502 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5366, allocations: 53.61 kB / 1.502 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5366, allocations: 4 kB / 1.502 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5366, allocations: 0 / 1.502 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.5366, allocations: 0 / 1.502 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.15e-05/0.5367, allocations: 19.98 kB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.5371, allocations: 239.9 kB / 1.502 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.5371, allocations: 22.58 kB / 1.502 GB, free: 14.58 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.5372, allocations: 20.78 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.5373, allocations: 20.05 kB / 1.502 GB, free: 14.54 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5374, allocations: 34.56 kB / 1.502 GB, free: 14.49 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.5374, allocations: 0 / 1.502 GB, free: 14.49 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.0002851/0.5376, allocations: 49.69 kB / 1.503 GB, free: 14.44 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.5377, allocations: 55.34 kB / 1.503 GB, free: 14.37 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.5378, allocations: 101.8 kB / 1.503 GB, free: 14.26 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5378, allocations: 29.7 kB / 1.503 GB, free: 14.23 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.5379, allocations: 84.09 kB / 1.503 GB, free: 14.14 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.5379, allocations: 16.02 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.5379, allocations: 13.72 kB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5381, allocations: 318.8 kB / 1.503 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.5381, allocations: 7.938 kB / 1.503 GB, free: 13.78 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.5382, allocations: 18.58 kB / 1.503 GB, free: 13.75 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.5382, allocations: 34.56 kB / 1.503 GB, free: 13.71 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5382, allocations: 4 kB / 1.503 GB, free: 13.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.422e-05/0.5383, allocations: 53.62 kB / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5383, allocations: 4 kB / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5383, allocations: 0 / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5384, allocations: 0 / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.5384, allocations: 15.94 kB / 1.503 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5384, allocations: 3.938 kB / 1.503 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.5385, allocations: 8.047 kB / 1.503 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.5385, allocations: 8 kB / 1.503 GB, free: 13.61 MB / 1.201 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.662e-05/0.5386, allocations: 113.8 kB / 1.503 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.5386, allocations: 0 / 1.503 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.5386, allocations: 11.3 kB / 1.503 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5386, allocations: 0 / 1.503 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5386, allocations: 3.938 kB / 1.503 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5386, allocations: 4 kB / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.539, allocations: 330.7 kB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.539, allocations: 3.984 kB / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.539, allocations: 7.938 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.539, allocations: 0 / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.539, allocations: 7.875 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5391, allocations: 4 kB / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5391, allocations: 0 / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.5392, allocations: 73.95 kB / 1.504 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.5392, allocations: 11.92 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.5392, allocations: 0 / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.5393, allocations: 4 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.5393, allocations: 0 / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.5393, allocations: 0 / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.5393, allocations: 87.27 kB / 1.504 GB, free: 12.87 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5393, allocations: 4.031 kB / 1.504 GB, free: 12.86 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002092/0.5395, allocations: 8 kB / 1.504 GB, free: 12.86 MB / 1.201 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.0004471/0.54, allocations: 0.6132 MB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.855e-05/0.5401, allocations: 12 kB / 1.505 GB, free: 12.2 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5401, allocations: 0 / 1.505 GB, free: 12.2 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.5401, allocations: 7.938 kB / 1.505 GB, free: 12.19 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.5404, allocations: 13.7 kB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.5408, allocations: 145.6 kB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.5412, allocations: 0.681 MB / 1.505 GB, free: 11.29 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.5413, allocations: 7.984 kB / 1.505 GB, free: 11.28 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.5413, allocations: 7.438 kB / 1.505 GB, free: 11.28 MB / 1.201 GB Notification: Performance of SimCode: time 6.51e-07/0.5413, allocations: 0 / 1.505 GB, free: 11.28 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.57, allocations: 1.58 MB / 1.507 GB, free: 9.824 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.78, allocations: 7.203 kB / 1.507 GB, free: 9.82 MB / 1.201 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.663842542096972]