Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00132/0.00132, allocations: 107.6 kB / 16.45 MB, free: 6.398 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.00152/0.00152, allocations: 214.4 kB / 19.43 MB, free: 3.727 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.375/1.375, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.991/2.991, allocations: 0.49 GB / 0.7916 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.002048/0.002048, allocations: 66.94 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.374, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1754/0.5494, allocations: 151.6 MB / 1.469 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001332/0.5495, allocations: 59.8 kB / 1.469 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.5496, allocations: 0 / 1.469 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.5497, allocations: 3.938 kB / 1.469 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.5497, allocations: 15.91 kB / 1.469 GB, free: 11.15 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.5505, allocations: 223.2 kB / 1.469 GB, free: 10.93 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.144e-05/0.5505, allocations: 35.84 kB / 1.469 GB, free: 10.9 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.5506, allocations: 7.922 kB / 1.469 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.5506, allocations: 12 kB / 1.469 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.5507, allocations: 19.91 kB / 1.469 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.5507, allocations: 4 kB / 1.469 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.5511, allocations: 207.4 kB / 1.469 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.5511, allocations: 7.984 kB / 1.469 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.5512, allocations: 7.938 kB / 1.469 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.5514, allocations: 112 kB / 1.469 GB, free: 10.53 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5514, allocations: 7.938 kB / 1.469 GB, free: 10.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5514, allocations: 0 / 1.469 GB, free: 10.52 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.5514, allocations: 4 kB / 1.469 GB, free: 10.52 MB / 1.17 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.0004216/0.5518, allocations: 339.3 kB / 1.47 GB, free: 10.14 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5519, allocations: 15.98 kB / 1.47 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.5519, allocations: 42.67 kB / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.5522, allocations: 20.91 kB / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.5523, allocations: 168.1 kB / 1.47 GB, free: 9.848 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.5524, allocations: 29.7 kB / 1.47 GB, free: 9.812 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.5524, allocations: 0 / 1.47 GB, free: 9.812 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.5525, allocations: 49.67 kB / 1.47 GB, free: 9.758 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5525, allocations: 4 kB / 1.47 GB, free: 9.754 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.5526, allocations: 0 / 1.47 GB, free: 9.754 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.5526, allocations: 3.984 kB / 1.47 GB, free: 9.75 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.5526, allocations: 23.92 kB / 1.47 GB, free: 9.727 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.553, allocations: 260.9 kB / 1.47 GB, free: 9.422 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 5.592e-05/0.5531, allocations: 26.56 kB / 1.47 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.5531, allocations: 8.922 kB / 1.47 GB, free: 9.375 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.5532, allocations: 89.09 kB / 1.471 GB, free: 9.27 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.5533, allocations: 38.56 kB / 1.471 GB, free: 9.223 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.5533, allocations: 4 kB / 1.471 GB, free: 9.219 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.000231/0.5535, allocations: 49.62 kB / 1.471 GB, free: 9.164 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.5536, allocations: 59.34 kB / 1.471 GB, free: 9.094 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.5537, allocations: 101.8 kB / 1.471 GB, free: 8.984 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.5537, allocations: 25.7 kB / 1.471 GB, free: 8.953 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.5537, allocations: 88.09 kB / 1.471 GB, free: 8.863 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.5537, allocations: 11.89 kB / 1.471 GB, free: 8.852 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.5538, allocations: 17.84 kB / 1.471 GB, free: 8.828 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5539, allocations: 314.8 kB / 1.471 GB, free: 8.512 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.5539, allocations: 7.984 kB / 1.471 GB, free: 8.504 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.554, allocations: 18.58 kB / 1.471 GB, free: 8.477 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.554, allocations: 34.52 kB / 1.471 GB, free: 8.434 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.554, allocations: 0 / 1.471 GB, free: 8.434 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.511e-05/0.5541, allocations: 53.62 kB / 1.471 GB, free: 8.375 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5541, allocations: 11.94 kB / 1.471 GB, free: 8.363 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5541, allocations: 288 / 1.471 GB, free: 8.363 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5541, allocations: 0 / 1.471 GB, free: 8.363 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.5542, allocations: 15.98 kB / 1.471 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5542, allocations: 3.938 kB / 1.471 GB, free: 8.344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.5542, allocations: 3.938 kB / 1.471 GB, free: 8.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.5542, allocations: 12.03 kB / 1.471 GB, free: 8.328 MB / 1.17 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.162e-05/0.5543, allocations: 105.8 kB / 1.471 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.5543, allocations: 11.94 kB / 1.471 GB, free: 8.203 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.5544, allocations: 7.125 kB / 1.471 GB, free: 8.195 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5544, allocations: 0 / 1.471 GB, free: 8.195 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5544, allocations: 3.938 kB / 1.471 GB, free: 8.191 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.5544, allocations: 0 / 1.471 GB, free: 8.191 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.5547, allocations: 367.6 kB / 1.472 GB, free: 7.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5547, allocations: 0 / 1.472 GB, free: 7.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.5547, allocations: 7.938 kB / 1.472 GB, free: 7.762 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5547, allocations: 0 / 1.472 GB, free: 7.762 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.5548, allocations: 3.984 kB / 1.472 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5548, allocations: 0 / 1.472 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5548, allocations: 0 / 1.472 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.439e-05/0.5549, allocations: 74 kB / 1.472 GB, free: 7.664 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.5549, allocations: 85 kB / 1.472 GB, free: 7.562 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.5549, allocations: 3.984 kB / 1.472 GB, free: 7.559 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.555, allocations: 4 kB / 1.472 GB, free: 7.555 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.555, allocations: 0 / 1.472 GB, free: 7.555 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.555, allocations: 4 kB / 1.472 GB, free: 7.551 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.5551, allocations: 87.27 kB / 1.472 GB, free: 7.465 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5551, allocations: 0 / 1.472 GB, free: 7.465 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001943/0.5553, allocations: 8.031 kB / 1.472 GB, free: 7.457 MB / 1.17 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.0004714/0.5557, allocations: 0.6042 MB / 1.473 GB, free: 6.824 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.059e-05/0.5558, allocations: 23.97 kB / 1.473 GB, free: 6.801 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5558, allocations: 0 / 1.473 GB, free: 6.801 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.5558, allocations: 7.938 kB / 1.473 GB, free: 6.793 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.556, allocations: 18 kB / 1.473 GB, free: 6.777 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.5564, allocations: 149 kB / 1.473 GB, free: 6.59 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.5567, allocations: 0.681 MB / 1.474 GB, free: 5.883 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.5568, allocations: 4 kB / 1.474 GB, free: 5.879 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.5568, allocations: 11.44 kB / 1.474 GB, free: 5.867 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/0.5568, allocations: 0 / 1.474 GB, free: 5.867 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.5827, allocations: 1.468 MB / 1.475 GB, free: 4.492 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/8.183, allocations: 16.67 kB / 1.475 GB, free: 4.477 MB / 1.17 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.312071356922388]