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.001323/0.001323, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001434/0.001434, allocations: 212 kB / 20.13 MB, free: 2.949 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.863/2.863, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.002047/0.002047, allocations: 71.89 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8923/0.8943, allocations: 178.9 MB / 1.34 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1856/1.08, allocations: 151.6 MB / 1.488 GB, free: 14.13 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.000176/1.08, allocations: 55.98 kB / 1.488 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/1.08, allocations: 0 / 1.488 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/1.08, allocations: 1.406 kB / 1.488 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/1.08, allocations: 13.28 kB / 1.488 GB, free: 14.08 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009881/1.081, allocations: 222.3 kB / 1.488 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/1.081, allocations: 37.34 kB / 1.488 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/1.081, allocations: 1.094 kB / 1.488 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/1.082, allocations: 13.05 kB / 1.488 GB, free: 13.9 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/1.082, allocations: 22.56 kB / 1.488 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/1.082, allocations: 0.875 kB / 1.488 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/1.082, allocations: 213.4 kB / 1.489 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/1.082, allocations: 2.094 kB / 1.489 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/1.082, allocations: 17.25 kB / 1.489 GB, free: 13.75 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/1.083, allocations: 115.6 kB / 1.489 GB, free: 13.69 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/1.083, allocations: 4 kB / 1.489 GB, free: 13.69 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.763e-06/1.083, allocations: 1.188 kB / 1.489 GB, free: 13.69 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.64e-06/1.083, allocations: 0 / 1.489 GB, free: 13.69 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.000509/1.083, allocations: 349.7 kB / 1.489 GB, free: 13.31 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.083, allocations: 9.656 kB / 1.489 GB, free: 13.31 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/1.083, allocations: 1.406 kB / 1.489 GB, free: 13.31 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/1.083, allocations: 38.73 kB / 1.489 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/1.084, allocations: 28.03 kB / 1.489 GB, free: 13.25 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/1.084, allocations: 169.1 kB / 1.489 GB, free: 13.05 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/1.084, allocations: 26.92 kB / 1.489 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/1.084, allocations: 1.438 kB / 1.489 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.084, allocations: 54.39 kB / 1.489 GB, free: 12.97 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.084, allocations: 0 / 1.489 GB, free: 12.97 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.084, allocations: 0 / 1.489 GB, free: 12.97 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/1.084, allocations: 6.391 kB / 1.489 GB, free: 12.97 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/1.084, allocations: 20.55 kB / 1.489 GB, free: 12.96 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/1.085, allocations: 268.2 kB / 1.49 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/1.085, allocations: 28.28 kB / 1.49 GB, free: 12.63 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/1.085, allocations: 6.359 kB / 1.49 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/1.085, allocations: 95.59 kB / 1.49 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.085, allocations: 38.56 kB / 1.49 GB, free: 12.48 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/1.085, allocations: 1.031 kB / 1.49 GB, free: 12.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0002974/1.085, allocations: 43.81 kB / 1.49 GB, free: 12.44 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/1.085, allocations: 59.34 kB / 1.49 GB, free: 12.37 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.085, allocations: 96.2 kB / 1.49 GB, free: 12.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/1.085, allocations: 27.08 kB / 1.49 GB, free: 12.24 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/1.085, allocations: 97.52 kB / 1.49 GB, free: 12.14 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/1.085, allocations: 5.328 kB / 1.49 GB, free: 12.14 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/1.085, allocations: 16.5 kB / 1.49 GB, free: 12.12 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.086, allocations: 311.8 kB / 1.491 GB, free: 11.81 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/1.086, allocations: 6.672 kB / 1.491 GB, free: 11.8 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/1.086, allocations: 28.42 kB / 1.491 GB, free: 11.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/1.086, allocations: 30.3 kB / 1.491 GB, free: 11.74 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.086, allocations: 1.125 kB / 1.491 GB, free: 11.74 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/1.086, allocations: 57.75 kB / 1.491 GB, free: 11.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.086, allocations: 5.781 kB / 1.491 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.086, allocations: 0 / 1.491 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.086, allocations: 1.406 kB / 1.491 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/1.086, allocations: 17.45 kB / 1.491 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.086, allocations: 5.531 kB / 1.491 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/1.086, allocations: 5.453 kB / 1.491 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.086, allocations: 5.406 kB / 1.491 GB, free: 11.67 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 0.0001056/1.086, allocations: 108.6 kB / 1.491 GB, free: 11.56 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/1.086, allocations: 1.312 kB / 1.491 GB, free: 11.56 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/1.086, allocations: 8.375 kB / 1.491 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.086, allocations: 3.938 kB / 1.491 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.086, allocations: 0 / 1.491 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.086, allocations: 1.344 kB / 1.491 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/1.087, allocations: 368.5 kB / 1.491 GB, free: 11.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.087, allocations: 5.156 kB / 1.491 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/1.087, allocations: 2.906 kB / 1.491 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.087, allocations: 0 / 1.491 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/1.087, allocations: 1.312 kB / 1.491 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.087, allocations: 5.203 kB / 1.491 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.087, allocations: 0 / 1.491 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/1.087, allocations: 75.92 kB / 1.491 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/1.087, allocations: 82.73 kB / 1.491 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/1.087, allocations: 5.422 kB / 1.491 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/1.087, allocations: 2.469 kB / 1.491 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/1.087, allocations: 1.344 kB / 1.491 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/1.087, allocations: 9.234 kB / 1.491 GB, free: 10.93 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.572e-05/1.087, allocations: 87.38 kB / 1.491 GB, free: 10.85 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.087, allocations: 0 / 1.491 GB, free: 10.85 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002038/1.087, allocations: 10.39 kB / 1.491 GB, free: 10.85 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.0005323/1.088, allocations: 0.6129 MB / 1.492 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001032/1.088, allocations: 9.438 kB / 1.492 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.088, allocations: 0 / 1.492 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/1.088, allocations: 7.594 kB / 1.492 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/1.088, allocations: 8.031 kB / 1.492 GB, free: 10.22 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/1.089, allocations: 160.7 kB / 1.492 GB, free: 10.05 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/1.089, allocations: 0.6801 MB / 1.493 GB, free: 9.348 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.236e-05/1.089, allocations: 4.156 kB / 1.493 GB, free: 9.348 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/1.089, allocations: 10.16 kB / 1.493 GB, free: 9.34 MB / 1.17 GB Notification: Performance of SimCode: time 3.81e-07/1.089, allocations: 0 / 1.493 GB, free: 9.34 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5651/1.654, allocations: 1.507 MB / 1.494 GB, free: 8.516 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/9.905, allocations: 15.67 kB / 1.494 GB, free: 8.504 MB / 1.17 GB " [Timeout remaining time 290] (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: 16.08012742298888]