Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001563/0.001563, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001729/0.001729, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.757/2.757, allocations: 476.8 MB / 0.7714 GB, free: 4.262 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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [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.002078/0.002078, allocations: 69.25 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2071/0.5716, allocations: 164.9 MB / 1.446 GB, free: 5.688 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006831/0.5784, allocations: 4.614 MB / 1.45 GB, free: 1.059 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.5789, allocations: 15.88 kB / 1.45 GB, free: 1.043 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.5794, allocations: 127 kB / 1.45 GB, free: 0.918 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009255/0.5803, allocations: 346.4 kB / 1.451 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.5812, allocations: 299.3 kB / 1.451 GB, free: 292 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008306/0.582, allocations: 0.569 MB / 1.451 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.5824, allocations: 157.4 kB / 1.452 GB, free: 15.56 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.5835, allocations: 490.2 kB / 1.452 GB, free: 15.08 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.5838, allocations: 207.2 kB / 1.452 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.5839, allocations: 16 kB / 1.452 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.5841, allocations: 79.94 kB / 1.452 GB, free: 14.78 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.5842, allocations: 95.7 kB / 1.452 GB, free: 14.69 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.5843, allocations: 119.4 kB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.5848, allocations: 306.8 kB / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5848, allocations: 0 / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5849, allocations: 0 / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5849, allocations: 0 / 1.453 GB, free: 14.27 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009595/0.5858, allocations: 472.8 kB / 1.453 GB, free: 13.78 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5859, allocations: 12.03 kB / 1.453 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.586, allocations: 27.8 kB / 1.453 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.5865, allocations: 225.7 kB / 1.454 GB, free: 13.49 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.5865, allocations: 16 kB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.5865, allocations: 20 kB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.5871, allocations: 265.8 kB / 1.454 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5871, allocations: 0 / 1.454 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.5871, allocations: 11.94 kB / 1.454 GB, free: 13.15 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.5871, allocations: 11.94 kB / 1.454 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.5875, allocations: 143.8 kB / 1.454 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.5891, allocations: 1.328 MB / 1.455 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.5894, allocations: 171.7 kB / 1.455 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.5896, allocations: 101 kB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/0.5899, allocations: 43.98 kB / 1.456 GB, free: 11.2 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.59, allocations: 50.44 kB / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.59, allocations: 0 / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006372/0.5906, allocations: 201.9 kB / 1.456 GB, free: 10.94 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5908, allocations: 199.9 kB / 1.456 GB, free: 10.7 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.5911, allocations: 284.2 kB / 1.456 GB, free: 10.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.5911, allocations: 29.7 kB / 1.456 GB, free: 10.38 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.5912, allocations: 147.9 kB / 1.456 GB, free: 10.23 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.5913, allocations: 35.69 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.5914, allocations: 41.7 kB / 1.457 GB, free: 10.15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5915, allocations: 330.8 kB / 1.457 GB, free: 9.816 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.5917, allocations: 48.22 kB / 1.457 GB, free: 9.77 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.5919, allocations: 115.7 kB / 1.457 GB, free: 9.629 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.5923, allocations: 154.7 kB / 1.457 GB, free: 9.453 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5923, allocations: 4 kB / 1.457 GB, free: 9.449 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000394/0.5927, allocations: 193.3 kB / 1.457 GB, free: 9.254 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5927, allocations: 10.28 kB / 1.457 GB, free: 9.246 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5927, allocations: 7.938 kB / 1.457 GB, free: 9.238 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5927, allocations: 0 / 1.457 GB, free: 9.238 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.5929, allocations: 28.2 kB / 1.457 GB, free: 9.211 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.5929, allocations: 11.94 kB / 1.457 GB, free: 9.199 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.5931, allocations: 35.77 kB / 1.457 GB, free: 9.164 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.5931, allocations: 4 kB / 1.457 GB, free: 9.16 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001555/0.5932, allocations: 149.8 kB / 1.458 GB, free: 9.004 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5934, allocations: 27.8 kB / 1.458 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.5937, allocations: 135 kB / 1.458 GB, free: 8.836 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5937, allocations: 0 / 1.458 GB, free: 8.836 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5937, allocations: 4 kB / 1.458 GB, free: 8.832 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5937, allocations: 0 / 1.458 GB, free: 8.832 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/0.5947, allocations: 0.7447 MB / 1.458 GB, free: 8.02 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5947, allocations: 4.156 kB / 1.459 GB, free: 8.016 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.5948, allocations: 32.05 kB / 1.459 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5948, allocations: 4 kB / 1.459 GB, free: 7.98 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.5949, allocations: 4 kB / 1.459 GB, free: 7.977 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5949, allocations: 0 / 1.459 GB, free: 7.977 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5949, allocations: 4 kB / 1.459 GB, free: 7.973 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.5954, allocations: 339.4 kB / 1.459 GB, free: 7.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.5955, allocations: 35.88 kB / 1.459 GB, free: 7.574 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.5955, allocations: 4 kB / 1.459 GB, free: 7.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.5957, allocations: 12.05 kB / 1.459 GB, free: 7.559 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.5957, allocations: 19.86 kB / 1.459 GB, free: 7.539 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.5957, allocations: 4 kB / 1.459 GB, free: 7.535 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003147/0.5961, allocations: 211.1 kB / 1.459 GB, free: 7.328 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5961, allocations: 0 / 1.459 GB, free: 7.328 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003631/0.5964, allocations: 51.94 kB / 1.459 GB, free: 7.277 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0002567/0.5967, allocations: 131.6 kB / 1.459 GB, free: 7.141 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.5971, allocations: 119.8 kB / 1.459 GB, free: 7.023 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5971, allocations: 0 / 1.459 GB, free: 7.023 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.5973, allocations: 63.78 kB / 1.459 GB, free: 6.961 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.5981, allocations: 130.8 kB / 1.46 GB, free: 6.836 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.599, allocations: 0.5174 MB / 1.46 GB, free: 6.27 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.5995, allocations: 0.7597 MB / 1.461 GB, free: 5.484 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.5996, allocations: 19.44 kB / 1.461 GB, free: 5.465 MB / 1.154 GB Notification: Performance of SimCode: time 3.31e-07/0.5996, allocations: 0 / 1.461 GB, free: 5.465 MB / 1.154 GB Notification: Performance of Templates: time 0.007076/0.6066, allocations: 3.82 MB / 1.465 GB, free: 1.68 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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: 12.413063894986408]