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.002021/0.002021, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.00292/0.00292, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.988 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 3.426/3.426, allocations: 0.49 GB / 0.7951 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] 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.002145/0.002145, allocations: 71.72 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3924, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1996/0.5921, allocations: 151.6 MB / 1.474 GB, free: 9.781 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.5922, allocations: 59.84 kB / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.5923, allocations: 3.938 kB / 1.474 GB, free: 9.719 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.5924, allocations: 7.922 kB / 1.474 GB, free: 9.711 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.5925, allocations: 7.938 kB / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009812/0.5934, allocations: 230.5 kB / 1.474 GB, free: 9.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.5936, allocations: 35.86 kB / 1.474 GB, free: 9.445 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.5936, allocations: 3.984 kB / 1.474 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.5937, allocations: 15.98 kB / 1.474 GB, free: 9.426 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.5937, allocations: 15.92 kB / 1.474 GB, free: 9.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.5938, allocations: 0 / 1.474 GB, free: 9.41 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.5943, allocations: 215.3 kB / 1.474 GB, free: 9.199 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.5943, allocations: 11.98 kB / 1.475 GB, free: 9.188 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.5944, allocations: 7.938 kB / 1.475 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.5947, allocations: 115.9 kB / 1.475 GB, free: 9.066 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5947, allocations: 4 kB / 1.475 GB, free: 9.062 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5947, allocations: 0 / 1.475 GB, free: 9.062 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.5947, allocations: 4 kB / 1.475 GB, free: 9.059 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.0004732/0.5952, allocations: 266.2 kB / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5952, allocations: 12.03 kB / 1.475 GB, free: 8.758 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.5953, allocations: 30.75 kB / 1.475 GB, free: 8.719 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.5957, allocations: 28.91 kB / 1.475 GB, free: 8.691 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.5958, allocations: 106.3 kB / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.5959, allocations: 59.34 kB / 1.475 GB, free: 8.492 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.5959, allocations: 4 kB / 1.475 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.596, allocations: 49.67 kB / 1.475 GB, free: 8.434 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.596, allocations: 0 / 1.475 GB, free: 8.434 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5961, allocations: 3.984 kB / 1.475 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.5961, allocations: 7.938 kB / 1.475 GB, free: 8.422 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.5961, allocations: 19.98 kB / 1.475 GB, free: 8.402 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.5966, allocations: 239.9 kB / 1.475 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.5967, allocations: 18.58 kB / 1.475 GB, free: 8.098 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.5967, allocations: 16.92 kB / 1.475 GB, free: 8.078 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.5968, allocations: 11.98 kB / 1.475 GB, free: 8.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5969, allocations: 30.56 kB / 1.476 GB, free: 8.027 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5969, allocations: 7.938 kB / 1.476 GB, free: 8.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0002868/0.5972, allocations: 49.69 kB / 1.476 GB, free: 7.965 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.5972, allocations: 55.34 kB / 1.476 GB, free: 7.898 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.5973, allocations: 105.8 kB / 1.476 GB, free: 7.785 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5973, allocations: 25.7 kB / 1.476 GB, free: 7.754 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.5974, allocations: 84.09 kB / 1.476 GB, free: 7.668 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.5974, allocations: 11.89 kB / 1.476 GB, free: 7.656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.5974, allocations: 21.78 kB / 1.476 GB, free: 7.629 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5976, allocations: 318.8 kB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.5976, allocations: 3.984 kB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.5976, allocations: 22.58 kB / 1.476 GB, free: 7.273 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.5977, allocations: 34.52 kB / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5977, allocations: 4 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.636e-05/0.5978, allocations: 53.62 kB / 1.476 GB, free: 7.168 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5978, allocations: 4 kB / 1.476 GB, free: 7.164 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5978, allocations: 0 / 1.476 GB, free: 7.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5978, allocations: 4 kB / 1.476 GB, free: 7.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.5979, allocations: 11.98 kB / 1.476 GB, free: 7.148 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.5979, allocations: 7.875 kB / 1.476 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.5979, allocations: 4 kB / 1.476 GB, free: 7.137 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.5979, allocations: 4.094 kB / 1.476 GB, free: 7.133 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.421e-05/0.598, allocations: 110.4 kB / 1.476 GB, free: 7.016 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.5981, allocations: 3.953 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.5981, allocations: 15.25 kB / 1.476 GB, free: 6.996 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5981, allocations: 0 / 1.476 GB, free: 6.996 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5981, allocations: 3.938 kB / 1.476 GB, free: 6.992 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5981, allocations: 3.984 kB / 1.476 GB, free: 6.988 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.5984, allocations: 330.7 kB / 1.477 GB, free: 6.609 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5984, allocations: 0 / 1.477 GB, free: 6.609 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.5984, allocations: 7.938 kB / 1.477 GB, free: 6.602 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5984, allocations: 0 / 1.477 GB, free: 6.602 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.5985, allocations: 7.984 kB / 1.477 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5985, allocations: 3.984 kB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5985, allocations: 0 / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.5986, allocations: 74 kB / 1.477 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.5986, allocations: 7.891 kB / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.5986, allocations: 3.984 kB / 1.477 GB, free: 6.484 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.5987, allocations: 4 kB / 1.477 GB, free: 6.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.5987, allocations: 0 / 1.477 GB, free: 6.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5987, allocations: 4 kB / 1.477 GB, free: 6.477 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.5988, allocations: 83.55 kB / 1.477 GB, free: 6.395 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5988, allocations: 4 kB / 1.477 GB, free: 6.391 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001994/0.599, allocations: 8.031 kB / 1.477 GB, free: 6.383 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.0004817/0.5994, allocations: 0.6095 MB / 1.478 GB, free: 5.742 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.5995, allocations: 15.97 kB / 1.478 GB, free: 5.727 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5995, allocations: 4 kB / 1.478 GB, free: 5.723 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.5995, allocations: 3.938 kB / 1.478 GB, free: 5.719 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.5998, allocations: 11.94 kB / 1.478 GB, free: 5.707 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.6003, allocations: 149.6 kB / 1.478 GB, free: 5.516 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.6006, allocations: 0.6884 MB / 1.478 GB, free: 4.801 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.461e-05/0.6007, allocations: 4 kB / 1.478 GB, free: 4.797 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.6007, allocations: 7.438 kB / 1.478 GB, free: 4.789 MB / 1.17 GB Notification: Performance of SimCode: time 4e-07/0.6007, allocations: 0 / 1.478 GB, free: 4.789 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.632, allocations: 1.575 MB / 1.48 GB, free: 3.348 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.72, allocations: 17.55 kB / 1.48 GB, free: 3.336 MB / 1.17 GB " [Timeout remaining time 288] (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: 18.704877859912813]