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.001418/0.001418, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001568/0.001568, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.002084/0.002084, allocations: 67.39 kB / 1.118 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3891, allocations: 169.9 MB / 1.284 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1849/0.574, allocations: 130.3 MB / 1.411 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.5742, allocations: 43.88 kB / 1.411 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.5743, allocations: 0 / 1.411 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.5744, allocations: 3.938 kB / 1.411 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.5745, allocations: 19.91 kB / 1.411 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.5756, allocations: 211.2 kB / 1.412 GB, free: 328 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.5757, allocations: 23.92 kB / 1.412 GB, free: 304 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.5757, allocations: 0 / 1.412 GB, free: 304 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.5758, allocations: 31.84 kB / 1.412 GB, free: 272 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.5759, allocations: 4 kB / 1.412 GB, free: 268 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.5759, allocations: 4 kB / 1.412 GB, free: 264 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.5764, allocations: 167.4 kB / 1.412 GB, free: 96 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.5764, allocations: 15.98 kB / 1.412 GB, free: 80 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.5765, allocations: 7.938 kB / 1.412 GB, free: 72 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.5768, allocations: 100.1 kB / 1.412 GB, free: 15.97 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.5768, allocations: 3.984 kB / 1.412 GB, free: 15.96 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5768, allocations: 0 / 1.412 GB, free: 15.96 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5768, allocations: 7.875 kB / 1.412 GB, free: 15.96 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.0005434/0.5774, allocations: 270.2 kB / 1.412 GB, free: 15.67 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.5774, allocations: 12.03 kB / 1.412 GB, free: 15.66 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/0.5774, allocations: 192 / 1.412 GB, free: 15.66 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.5775, allocations: 30.75 kB / 1.412 GB, free: 15.62 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.5779, allocations: 36.89 kB / 1.412 GB, free: 15.58 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.578, allocations: 110 kB / 1.412 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/0.5781, allocations: 55.41 kB / 1.412 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.5781, allocations: 0 / 1.412 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.5782, allocations: 75.38 kB / 1.412 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5783, allocations: 0 / 1.412 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5783, allocations: 0 / 1.412 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.5783, allocations: 4 kB / 1.412 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.5783, allocations: 19.98 kB / 1.412 GB, free: 15.27 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.5788, allocations: 228 kB / 1.413 GB, free: 15.01 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.5789, allocations: 34.56 kB / 1.413 GB, free: 14.96 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.5789, allocations: 8.859 kB / 1.413 GB, free: 14.95 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.5791, allocations: 12 kB / 1.413 GB, free: 14.94 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.5791, allocations: 38.55 kB / 1.413 GB, free: 14.89 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.5791, allocations: 0 / 1.413 GB, free: 14.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0003119/0.5794, allocations: 57.67 kB / 1.413 GB, free: 14.83 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.5795, allocations: 59.34 kB / 1.413 GB, free: 14.76 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.5796, allocations: 97.86 kB / 1.413 GB, free: 14.66 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.5796, allocations: 25.7 kB / 1.413 GB, free: 14.62 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.5797, allocations: 92.08 kB / 1.413 GB, free: 14.53 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.5797, allocations: 7.891 kB / 1.413 GB, free: 14.52 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.5797, allocations: 17.72 kB / 1.413 GB, free: 14.5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5799, allocations: 314.8 kB / 1.413 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.5799, allocations: 0 / 1.413 GB, free: 14.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.58, allocations: 30.56 kB / 1.413 GB, free: 14.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/0.58, allocations: 34.55 kB / 1.413 GB, free: 14.1 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.58, allocations: 3.938 kB / 1.413 GB, free: 14.1 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001053/0.5801, allocations: 53.62 kB / 1.414 GB, free: 14.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5801, allocations: 8 kB / 1.414 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5801, allocations: 4 kB / 1.414 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5802, allocations: 0 / 1.414 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.5802, allocations: 11.94 kB / 1.414 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.5802, allocations: 4.078 kB / 1.414 GB, free: 14.01 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.5803, allocations: 4 kB / 1.414 GB, free: 14.01 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.5803, allocations: 4 kB / 1.414 GB, free: 14 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.0001107/0.5804, allocations: 106.9 kB / 1.414 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.5804, allocations: 7.953 kB / 1.414 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.5805, allocations: 11.25 kB / 1.414 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5805, allocations: 3.938 kB / 1.414 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5805, allocations: 0 / 1.414 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5805, allocations: 0 / 1.414 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.5809, allocations: 334.7 kB / 1.414 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5809, allocations: 8 kB / 1.414 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.5809, allocations: 4 kB / 1.414 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5809, allocations: 4.219 kB / 1.414 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5809, allocations: 0 / 1.414 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5809, allocations: 0 / 1.414 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5809, allocations: 4 kB / 1.414 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.581, allocations: 73.97 kB / 1.414 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.581, allocations: 3.938 kB / 1.414 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.5811, allocations: 0 / 1.414 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.5812, allocations: 4 kB / 1.414 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.5812, allocations: 8.016 kB / 1.414 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.5812, allocations: 8 kB / 1.414 GB, free: 13.35 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.755e-05/0.5812, allocations: 79.28 kB / 1.414 GB, free: 13.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.5812, allocations: 0 / 1.414 GB, free: 13.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001996/0.5814, allocations: 4 kB / 1.414 GB, free: 13.27 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.0004622/0.5819, allocations: 0.6171 MB / 1.415 GB, free: 12.62 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.582, allocations: 23.95 kB / 1.415 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.582, allocations: 0 / 1.415 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.582, allocations: 8 kB / 1.415 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.5823, allocations: 6.062 kB / 1.415 GB, free: 12.58 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.5828, allocations: 161.2 kB / 1.415 GB, free: 12.38 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.612e-05/0.5828, allocations: 59.34 kB / 1.415 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.519e-05/0.5829, allocations: 12.3 kB / 1.415 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.5829, allocations: 7.438 kB / 1.415 GB, free: 12.29 MB / 1.123 GB Notification: Performance of SimCode: time 2.5e-07/0.5829, allocations: 0 / 1.415 GB, free: 12.29 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.6066, allocations: 1.673 MB / 1.417 GB, free: 10.76 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.33, allocations: 18.67 kB / 1.417 GB, free: 10.75 MB / 1.123 GB " [Timeout remaining time 287] (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/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: 19.091050243005157]