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.001608/0.001608, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002013/0.002013, allocations: 219.5 kB / 23.04 MB, free: 4.844 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 / 256.8 MB, free: 7.777 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.059/3.059, allocations: 0.49 GB / 0.7959 GB, free: 35.65 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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [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.001989/0.001989, allocations: 73.38 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1624/0.4938, allocations: 130.4 MB / 1.454 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.4939, allocations: 51.81 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.4939, allocations: 0 / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.4941, allocations: 0 / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.4941, allocations: 15.91 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.4949, allocations: 208.5 kB / 1.455 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.819e-05/0.495, allocations: 39.86 kB / 1.455 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.495, allocations: 0 / 1.455 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.495, allocations: 19.91 kB / 1.455 GB, free: 13.83 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.4951, allocations: 15.98 kB / 1.455 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.4951, allocations: 0 / 1.455 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.4955, allocations: 159.4 kB / 1.455 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.4955, allocations: 11.98 kB / 1.455 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.4955, allocations: 7.938 kB / 1.455 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.4958, allocations: 111.6 kB / 1.455 GB, free: 13.53 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4958, allocations: 0 / 1.455 GB, free: 13.53 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4958, allocations: 4 kB / 1.455 GB, free: 13.52 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.4958, allocations: 0 / 1.455 GB, free: 13.52 MB / 1.154 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.0003992/0.4962, allocations: 270.2 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4962, allocations: 8.031 kB / 1.455 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.4965, allocations: 28.91 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.4966, allocations: 106.5 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.4967, allocations: 55.34 kB / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.4967, allocations: 0 / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.4968, allocations: 75.38 kB / 1.456 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4968, allocations: 7.984 kB / 1.456 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4969, allocations: 7.938 kB / 1.456 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4969, allocations: 3.938 kB / 1.456 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.4969, allocations: 19.98 kB / 1.456 GB, free: 12.88 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.4972, allocations: 208.5 kB / 1.456 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.883e-05/0.4973, allocations: 22.58 kB / 1.456 GB, free: 12.61 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.4973, allocations: 12.84 kB / 1.456 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.4975, allocations: 20.06 kB / 1.456 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.4975, allocations: 34.5 kB / 1.456 GB, free: 12.53 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4975, allocations: 0 / 1.456 GB, free: 12.53 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002278/0.4977, allocations: 49.69 kB / 1.456 GB, free: 12.48 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4978, allocations: 55.39 kB / 1.456 GB, free: 12.41 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.4978, allocations: 101.9 kB / 1.456 GB, free: 12.3 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4979, allocations: 25.7 kB / 1.456 GB, free: 12.27 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.4979, allocations: 84.09 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.4979, allocations: 19.88 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.498, allocations: 13.84 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4981, allocations: 322.8 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.4981, allocations: 4 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.4982, allocations: 30.44 kB / 1.457 GB, free: 11.78 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.4982, allocations: 26.58 kB / 1.457 GB, free: 11.74 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4982, allocations: 0 / 1.457 GB, free: 11.74 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.133e-05/0.4983, allocations: 53.62 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4983, allocations: 12.09 kB / 1.457 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4983, allocations: 0 / 1.457 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4983, allocations: 0 / 1.457 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.4984, allocations: 12 kB / 1.457 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4984, allocations: 3.938 kB / 1.457 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.4984, allocations: 7.938 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.4984, allocations: 7.984 kB / 1.457 GB, free: 11.64 MB / 1.154 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 7.557e-05/0.4985, allocations: 105.8 kB / 1.457 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.4985, allocations: 7.953 kB / 1.457 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.4985, allocations: 7.312 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.4985, allocations: 4 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4985, allocations: 0 / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4986, allocations: 3.938 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.4988, allocations: 307.2 kB / 1.457 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4988, allocations: 3.984 kB / 1.457 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.4989, allocations: 4 kB / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4989, allocations: 0 / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.4989, allocations: 0 / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.4989, allocations: 7.938 kB / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4989, allocations: 0 / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.499, allocations: 81.94 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.499, allocations: 7.938 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.499, allocations: 0 / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.4991, allocations: 7.938 kB / 1.457 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.4991, allocations: 0 / 1.457 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.4991, allocations: 4 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.4991, allocations: 91.53 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.4991, allocations: 0 / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001852/0.4993, allocations: 4 kB / 1.457 GB, free: 10.93 MB / 1.154 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.0001225/0.4994, allocations: 111.2 kB / 1.457 GB, free: 10.81 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.4995, allocations: 23.92 kB / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4995, allocations: 0 / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.4996, allocations: 7.938 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.4998, allocations: 6.031 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.5001, allocations: 153.5 kB / 1.458 GB, free: 10.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.5001, allocations: 59.34 kB / 1.458 GB, free: 10.51 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.5001, allocations: 11.44 kB / 1.458 GB, free: 10.5 MB / 1.154 GB Notification: Performance of SimCode: time 3e-07/0.5001, allocations: 0 / 1.458 GB, free: 10.5 MB / 1.154 GB Notification: Performance of Templates: time 0.002132/0.5023, allocations: 0.6181 MB / 1.458 GB, free: 9.879 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] 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: 10.94358788896352]