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.00187/0.00187, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.00232/0.00232, allocations: 210.5 kB / 22.24 MB, free: 5.117 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.832 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.845/2.845, allocations: 476 MB / 0.7699 GB, free: 4.773 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="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: 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.002143/0.002143, allocations: 68.67 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 170 MB / 1.283 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1857/0.5252, allocations: 130.3 MB / 1.41 GB, free: 9.715 MB / 1.108 GB Notification: Performance of NFInst.instExpressions: time 0.00017/0.5254, allocations: 51.75 kB / 1.41 GB, free: 9.664 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.5254, allocations: 0 / 1.41 GB, free: 9.664 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.5255, allocations: 3.984 kB / 1.41 GB, free: 9.66 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.5256, allocations: 15.94 kB / 1.41 GB, free: 9.645 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008431/0.5265, allocations: 213.1 kB / 1.41 GB, free: 9.438 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.5266, allocations: 27.86 kB / 1.41 GB, free: 9.41 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.5266, allocations: 7.984 kB / 1.41 GB, free: 9.402 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.5266, allocations: 15.98 kB / 1.41 GB, free: 9.387 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.5267, allocations: 19.92 kB / 1.41 GB, free: 9.367 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.5267, allocations: 0 / 1.41 GB, free: 9.367 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.5271, allocations: 163.4 kB / 1.41 GB, free: 9.207 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.5272, allocations: 7.984 kB / 1.41 GB, free: 9.199 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.5272, allocations: 8 kB / 1.41 GB, free: 9.191 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.5275, allocations: 107.2 kB / 1.41 GB, free: 9.09 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5275, allocations: 4 kB / 1.41 GB, free: 9.086 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5275, allocations: 0 / 1.41 GB, free: 9.086 MB / 1.108 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.5275, allocations: 0 / 1.41 GB, free: 9.086 MB / 1.108 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.0004466/0.5279, allocations: 274.2 kB / 1.411 GB, free: 8.789 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.528, allocations: 12.03 kB / 1.411 GB, free: 8.777 MB / 1.108 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.528, allocations: 30.75 kB / 1.411 GB, free: 8.738 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.5283, allocations: 24.91 kB / 1.411 GB, free: 8.715 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.5284, allocations: 106.3 kB / 1.411 GB, free: 8.586 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.5285, allocations: 59.39 kB / 1.411 GB, free: 8.516 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.5285, allocations: 0 / 1.411 GB, free: 8.516 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.5287, allocations: 79.31 kB / 1.411 GB, free: 8.426 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5287, allocations: 0 / 1.411 GB, free: 8.426 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5287, allocations: 0 / 1.411 GB, free: 8.426 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.5287, allocations: 11.94 kB / 1.411 GB, free: 8.414 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.5288, allocations: 19.98 kB / 1.411 GB, free: 8.395 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.5292, allocations: 232 kB / 1.411 GB, free: 8.125 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.5293, allocations: 18.64 kB / 1.411 GB, free: 8.098 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.5293, allocations: 8.859 kB / 1.411 GB, free: 8.086 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.5294, allocations: 23.92 kB / 1.411 GB, free: 8.062 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5294, allocations: 30.56 kB / 1.411 GB, free: 8.023 MB / 1.108 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5294, allocations: 4 kB / 1.411 GB, free: 8.02 MB / 1.108 GB Notification: Performance of matching and sorting (n=2): time 0.0002542/0.5297, allocations: 53.64 kB / 1.411 GB, free: 7.961 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.5297, allocations: 55.34 kB / 1.411 GB, free: 7.895 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.5298, allocations: 105.8 kB / 1.412 GB, free: 7.781 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.5299, allocations: 25.7 kB / 1.412 GB, free: 7.75 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.5299, allocations: 84.09 kB / 1.412 GB, free: 7.664 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.5299, allocations: 7.891 kB / 1.412 GB, free: 7.656 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.53, allocations: 25.64 kB / 1.412 GB, free: 7.625 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5301, allocations: 314.8 kB / 1.412 GB, free: 7.309 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.5301, allocations: 8.062 kB / 1.412 GB, free: 7.301 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.5302, allocations: 30.56 kB / 1.412 GB, free: 7.262 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.5302, allocations: 26.58 kB / 1.412 GB, free: 7.227 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5302, allocations: 0 / 1.412 GB, free: 7.227 MB / 1.108 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.937e-05/0.5303, allocations: 53.62 kB / 1.412 GB, free: 7.168 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5304, allocations: 8 kB / 1.412 GB, free: 7.16 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5304, allocations: 0 / 1.412 GB, free: 7.16 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5304, allocations: 4.094 kB / 1.412 GB, free: 7.156 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.5304, allocations: 11.94 kB / 1.412 GB, free: 7.145 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5304, allocations: 3.938 kB / 1.412 GB, free: 7.141 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.5305, allocations: 0 / 1.412 GB, free: 7.141 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.5305, allocations: 4 kB / 1.412 GB, free: 7.137 MB / 1.108 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.000108/0.5306, allocations: 115.4 kB / 1.412 GB, free: 7.016 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.5306, allocations: 7.953 kB / 1.412 GB, free: 7.008 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.5306, allocations: 3.312 kB / 1.412 GB, free: 7.004 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5306, allocations: 0 / 1.412 GB, free: 7.004 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5306, allocations: 3.938 kB / 1.412 GB, free: 7 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5306, allocations: 0 / 1.412 GB, free: 7 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.531, allocations: 342.7 kB / 1.413 GB, free: 6.609 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.531, allocations: 7.922 kB / 1.413 GB, free: 6.602 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.531, allocations: 7.938 kB / 1.413 GB, free: 6.594 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.531, allocations: 0 / 1.413 GB, free: 6.594 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.531, allocations: 0 / 1.413 GB, free: 6.594 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.531, allocations: 0 / 1.413 GB, free: 6.594 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.531, allocations: 4 kB / 1.413 GB, free: 6.59 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.716e-05/0.5311, allocations: 70.22 kB / 1.413 GB, free: 6.5 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.5311, allocations: 11.92 kB / 1.413 GB, free: 6.488 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.5312, allocations: 4.094 kB / 1.413 GB, free: 6.484 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.5312, allocations: 7.984 kB / 1.413 GB, free: 6.477 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.5313, allocations: 0 / 1.413 GB, free: 6.477 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5313, allocations: 8 kB / 1.413 GB, free: 6.469 MB / 1.108 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.5313, allocations: 83.27 kB / 1.413 GB, free: 6.387 MB / 1.108 GB Notification: Performance of sort global known variables: time 9e-08/0.5313, allocations: 0 / 1.413 GB, free: 6.387 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0001947/0.5315, allocations: 4 kB / 1.413 GB, free: 6.383 MB / 1.108 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.0004743/0.532, allocations: 0.6171 MB / 1.413 GB, free: 5.734 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.5321, allocations: 16 kB / 1.413 GB, free: 5.719 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5321, allocations: 0 / 1.413 GB, free: 5.719 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.5321, allocations: 7.938 kB / 1.413 GB, free: 5.711 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.5324, allocations: 17.62 kB / 1.413 GB, free: 5.695 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.5328, allocations: 149.3 kB / 1.414 GB, free: 5.508 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.5328, allocations: 67.59 kB / 1.414 GB, free: 5.422 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.5329, allocations: 8 kB / 1.414 GB, free: 5.414 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.5329, allocations: 11.44 kB / 1.414 GB, free: 5.402 MB / 1.108 GB Notification: Performance of SimCode: time 2.91e-07/0.5329, allocations: 0 / 1.414 GB, free: 5.402 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.5638, allocations: 1.996 MB / 1.416 GB, free: 3.539 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.85, allocations: 7.266 kB / 1.416 GB, free: 3.535 MB / 1.108 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: 18.546449983026832]