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.001358/0.001358, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001718/0.001718, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.973 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.857/2.857, allocations: 476.8 MB / 0.7707 GB, free: 4.246 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.002059/0.002059, allocations: 67.59 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 170 MB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1939/0.5105, allocations: 151.6 MB / 1.431 GB, free: 3.352 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001987/0.5107, allocations: 59.78 kB / 1.431 GB, free: 3.293 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.5108, allocations: 0 / 1.431 GB, free: 3.293 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.5109, allocations: 0 / 1.431 GB, free: 3.293 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.511, allocations: 11.92 kB / 1.431 GB, free: 3.281 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.5122, allocations: 224.2 kB / 1.432 GB, free: 3.062 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.5123, allocations: 31.86 kB / 1.432 GB, free: 3.031 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.5124, allocations: 4 kB / 1.432 GB, free: 3.027 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.5125, allocations: 19.97 kB / 1.432 GB, free: 3.008 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.5126, allocations: 15.92 kB / 1.432 GB, free: 2.992 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.5126, allocations: 0 / 1.432 GB, free: 2.992 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.5132, allocations: 223.3 kB / 1.432 GB, free: 2.773 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.5132, allocations: 7.984 kB / 1.432 GB, free: 2.766 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.5132, allocations: 11.94 kB / 1.432 GB, free: 2.754 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.5136, allocations: 115.2 kB / 1.432 GB, free: 2.645 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5136, allocations: 0 / 1.432 GB, free: 2.645 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5136, allocations: 0 / 1.432 GB, free: 2.645 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.5136, allocations: 0 / 1.432 GB, free: 2.645 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.0004829/0.5141, allocations: 274.2 kB / 1.432 GB, free: 2.348 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5141, allocations: 12.03 kB / 1.432 GB, free: 2.336 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.5142, allocations: 30.75 kB / 1.432 GB, free: 2.297 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.5145, allocations: 32.91 kB / 1.432 GB, free: 2.266 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.5147, allocations: 110.3 kB / 1.433 GB, free: 2.133 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.5147, allocations: 51.41 kB / 1.433 GB, free: 2.07 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.5147, allocations: 4 kB / 1.433 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.5149, allocations: 53.61 kB / 1.433 GB, free: 2.008 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5149, allocations: 0 / 1.433 GB, free: 2.008 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5149, allocations: 0 / 1.433 GB, free: 2.008 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.5149, allocations: 0 / 1.433 GB, free: 2.008 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.515, allocations: 27.98 kB / 1.433 GB, free: 1.98 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.5154, allocations: 224 kB / 1.433 GB, free: 1.719 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.5155, allocations: 26.55 kB / 1.433 GB, free: 1.684 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.5155, allocations: 8.859 kB / 1.433 GB, free: 1.672 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.5156, allocations: 24.03 kB / 1.433 GB, free: 1.648 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.5157, allocations: 30.56 kB / 1.433 GB, free: 1.609 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.5157, allocations: 0 / 1.433 GB, free: 1.609 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.000283/0.516, allocations: 57.62 kB / 1.433 GB, free: 1.547 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.516, allocations: 55.34 kB / 1.433 GB, free: 1.48 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.5161, allocations: 105.8 kB / 1.433 GB, free: 1.367 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.5161, allocations: 33.81 kB / 1.433 GB, free: 1.328 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.5162, allocations: 84.09 kB / 1.433 GB, free: 1.242 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.5162, allocations: 15.83 kB / 1.433 GB, free: 1.227 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.5162, allocations: 13.72 kB / 1.433 GB, free: 1.207 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5164, allocations: 314.8 kB / 1.434 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.5164, allocations: 7.984 kB / 1.434 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.5164, allocations: 18.58 kB / 1.434 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.5165, allocations: 34.58 kB / 1.434 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5165, allocations: 0 / 1.434 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.113e-05/0.5166, allocations: 57.56 kB / 1.434 GB, free: 0.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5166, allocations: 4 kB / 1.434 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5166, allocations: 3.938 kB / 1.434 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5166, allocations: 4 kB / 1.434 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.5167, allocations: 16.08 kB / 1.434 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.5167, allocations: 3.938 kB / 1.434 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.5167, allocations: 4 kB / 1.434 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.5167, allocations: 0 / 1.434 GB, free: 0.7148 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.37e-05/0.5168, allocations: 109.8 kB / 1.434 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.5168, allocations: 3.953 kB / 1.434 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.5169, allocations: 7.312 kB / 1.434 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5169, allocations: 0 / 1.434 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5169, allocations: 7.938 kB / 1.434 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5169, allocations: 4 kB / 1.434 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.5172, allocations: 334.7 kB / 1.434 GB, free: 196 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5172, allocations: 0 / 1.434 GB, free: 196 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.5172, allocations: 7.938 kB / 1.434 GB, free: 188 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5172, allocations: 0 / 1.434 GB, free: 188 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.5172, allocations: 4 kB / 1.434 GB, free: 184 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.5172, allocations: 7.969 kB / 1.434 GB, free: 176 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5173, allocations: 8.062 kB / 1.434 GB, free: 168 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.038e-05/0.5173, allocations: 65.94 kB / 1.434 GB, free: 80 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.5174, allocations: 7.938 kB / 1.434 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.5174, allocations: 0 / 1.434 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.5175, allocations: 7.984 kB / 1.434 GB, free: 64 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.5175, allocations: 0 / 1.434 GB, free: 64 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.5175, allocations: 4.031 kB / 1.434 GB, free: 60 kB / 1.123 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.5175, allocations: 83.28 kB / 1.434 GB, free: 15.98 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5175, allocations: 0 / 1.434 GB, free: 15.98 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002039/0.5177, allocations: 11.98 kB / 1.434 GB, free: 15.96 MB / 1.139 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.0004606/0.5182, allocations: 0.621 MB / 1.435 GB, free: 15.31 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 9.777e-05/0.5183, allocations: 11.94 kB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5183, allocations: 0 / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.5183, allocations: 4 kB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.5186, allocations: 9.547 kB / 1.435 GB, free: 15.29 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.519, allocations: 160 kB / 1.435 GB, free: 15.09 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.5194, allocations: 0.6806 MB / 1.436 GB, free: 14.39 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.301e-05/0.5194, allocations: 8.406 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.5195, allocations: 19.31 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/0.5195, allocations: 4 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.5496, allocations: 1.562 MB / 1.437 GB, free: 12.92 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.6, allocations: 4.812 kB / 1.437 GB, free: 12.92 MB / 1.139 GB " [Timeout remaining time 288] (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.173755700001493]