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.001389/0.001389, allocations: 105 kB / 16.45 MB, free: 6.449 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.00148/0.00148, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.788/2.788, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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.002294/0.002294, allocations: 67.91 kB / 1.112 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.8018, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1963/0.9981, allocations: 151.6 MB / 1.426 GB, free: 5.27 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.9983, allocations: 51.81 kB / 1.426 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.9983, allocations: 0 / 1.426 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.9984, allocations: 3.984 kB / 1.426 GB, free: 5.215 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 9.258e-05/0.9985, allocations: 15.92 kB / 1.426 GB, free: 5.199 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.9995, allocations: 218.2 kB / 1.427 GB, free: 4.988 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.9996, allocations: 39.78 kB / 1.427 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.9996, allocations: 0 / 1.427 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.9997, allocations: 19.98 kB / 1.427 GB, free: 4.93 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.9998, allocations: 7.984 kB / 1.427 GB, free: 4.922 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.9998, allocations: 4 kB / 1.427 GB, free: 4.918 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/1, allocations: 211.4 kB / 1.427 GB, free: 4.711 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/1, allocations: 11.92 kB / 1.427 GB, free: 4.699 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/1, allocations: 11.98 kB / 1.427 GB, free: 4.688 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/1.001, allocations: 109.5 kB / 1.427 GB, free: 4.582 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.001, allocations: 0 / 1.427 GB, free: 4.582 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.283e-06/1.001, allocations: 7.938 kB / 1.427 GB, free: 4.574 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.001, allocations: 4 kB / 1.427 GB, free: 4.57 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.000501/1.001, allocations: 347.3 kB / 1.427 GB, free: 4.184 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.001, allocations: 12.03 kB / 1.427 GB, free: 4.172 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/1.001, allocations: 34.75 kB / 1.427 GB, free: 4.129 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/1.002, allocations: 28.89 kB / 1.427 GB, free: 4.102 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.002, allocations: 168.1 kB / 1.428 GB, free: 3.898 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/1.002, allocations: 29.7 kB / 1.428 GB, free: 3.863 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/1.002, allocations: 0 / 1.428 GB, free: 3.863 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.002, allocations: 53.61 kB / 1.428 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.002, allocations: 7.984 kB / 1.428 GB, free: 3.797 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/1.002, allocations: 3.938 kB / 1.428 GB, free: 3.793 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/1.002, allocations: 0 / 1.428 GB, free: 3.793 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/1.002, allocations: 19.98 kB / 1.428 GB, free: 3.773 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/1.003, allocations: 264.8 kB / 1.428 GB, free: 3.465 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/1.003, allocations: 22.58 kB / 1.428 GB, free: 3.434 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/1.003, allocations: 12.86 kB / 1.428 GB, free: 3.418 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/1.003, allocations: 89.09 kB / 1.428 GB, free: 3.312 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.003, allocations: 38.56 kB / 1.428 GB, free: 3.266 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.003, allocations: 4 kB / 1.428 GB, free: 3.262 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0002708/1.003, allocations: 49.64 kB / 1.428 GB, free: 3.207 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.003, allocations: 59.34 kB / 1.428 GB, free: 3.137 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/1.003, allocations: 97.84 kB / 1.428 GB, free: 3.031 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.003, allocations: 25.7 kB / 1.428 GB, free: 3 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/1.003, allocations: 92.09 kB / 1.428 GB, free: 2.906 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/1.003, allocations: 3.953 kB / 1.428 GB, free: 2.902 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/1.003, allocations: 25.83 kB / 1.428 GB, free: 2.871 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.004, allocations: 314.8 kB / 1.429 GB, free: 2.555 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/1.004, allocations: 4 kB / 1.429 GB, free: 2.551 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/1.004, allocations: 26.56 kB / 1.429 GB, free: 2.516 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/1.004, allocations: 30.58 kB / 1.429 GB, free: 2.477 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.004, allocations: 0 / 1.429 GB, free: 2.477 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.849e-05/1.004, allocations: 53.62 kB / 1.429 GB, free: 2.418 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.004, allocations: 9.875 kB / 1.429 GB, free: 2.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.004, allocations: 3.938 kB / 1.429 GB, free: 2.406 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.004, allocations: 0 / 1.429 GB, free: 2.406 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/1.004, allocations: 8 kB / 1.429 GB, free: 2.398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.004, allocations: 3.938 kB / 1.429 GB, free: 2.395 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/1.004, allocations: 0 / 1.429 GB, free: 2.395 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/1.004, allocations: 4.094 kB / 1.429 GB, free: 2.391 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 9.815e-05/1.004, allocations: 113.8 kB / 1.429 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/1.004, allocations: 7.953 kB / 1.429 GB, free: 2.262 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/1.004, allocations: 11.06 kB / 1.429 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.004, allocations: 0 / 1.429 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.004, allocations: 3.938 kB / 1.429 GB, free: 2.242 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.004, allocations: 0 / 1.429 GB, free: 2.242 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/1.004, allocations: 375.5 kB / 1.429 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.004, allocations: 0 / 1.429 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/1.004, allocations: 7.938 kB / 1.429 GB, free: 1.805 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.004, allocations: 0 / 1.429 GB, free: 1.805 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/1.004, allocations: 0 / 1.429 GB, free: 1.805 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.004, allocations: 0 / 1.429 GB, free: 1.805 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.004, allocations: 0 / 1.429 GB, free: 1.805 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/1.005, allocations: 81.98 kB / 1.429 GB, free: 1.703 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/1.005, allocations: 81.05 kB / 1.429 GB, free: 1.605 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.005, allocations: 0 / 1.429 GB, free: 1.605 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/1.005, allocations: 4 kB / 1.429 GB, free: 1.602 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/1.005, allocations: 3.984 kB / 1.429 GB, free: 1.598 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/1.005, allocations: 4 kB / 1.429 GB, free: 1.594 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.574e-05/1.005, allocations: 83.56 kB / 1.43 GB, free: 1.512 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/1.005, allocations: 0 / 1.43 GB, free: 1.512 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002062/1.005, allocations: 4 kB / 1.43 GB, free: 1.508 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.0004815/1.006, allocations: 0.6217 MB / 1.43 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 9.212e-05/1.006, allocations: 16.03 kB / 1.43 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.006, allocations: 0 / 1.43 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/1.006, allocations: 15.92 kB / 1.43 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/1.006, allocations: 4 kB / 1.43 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/1.006, allocations: 149 kB / 1.43 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.007, allocations: 0.6809 MB / 1.431 GB, free: 15.93 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.457e-05/1.007, allocations: 12 kB / 1.431 GB, free: 15.91 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/1.007, allocations: 15.42 kB / 1.431 GB, free: 15.9 MB / 1.139 GB Notification: Performance of SimCode: time 2.81e-07/1.007, allocations: 0 / 1.431 GB, free: 15.9 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/1.035, allocations: 1.461 MB / 1.432 GB, free: 14.53 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/9.128, allocations: 14.86 kB / 1.432 GB, free: 14.52 MB / 1.139 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 15.159625717904419]