Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001295/0.001295, allocations: 104.3 kB / 19.7 MB, free: 2.148 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.001425/0.001425, allocations: 216.4 kB / 22.99 MB, free: 4.965 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.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_12_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_12_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.00191/0.00191, allocations: 71.36 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2972, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1808/0.478, allocations: 142.2 MB / 1.466 GB, free: 2.242 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.4838, allocations: 4.2 MB / 1.47 GB, free: 14.04 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.4841, allocations: 11.88 kB / 1.47 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.4845, allocations: 127 kB / 1.47 GB, free: 13.9 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.4853, allocations: 334.5 kB / 1.471 GB, free: 13.57 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.4861, allocations: 297.3 kB / 1.471 GB, free: 13.29 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.4867, allocations: 0.5651 MB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.4871, allocations: 171.1 kB / 1.472 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.4886, allocations: 0.6655 MB / 1.472 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.4889, allocations: 195.2 kB / 1.472 GB, free: 11.69 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.489, allocations: 20 kB / 1.472 GB, free: 11.67 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.4891, allocations: 79.94 kB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.4893, allocations: 95.7 kB / 1.473 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.4894, allocations: 103.5 kB / 1.473 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.4898, allocations: 306.7 kB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.4898, allocations: 4 kB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4898, allocations: 0 / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.4898, allocations: 0 / 1.473 GB, free: 11.09 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008696/0.4907, allocations: 472.8 kB / 1.473 GB, free: 10.6 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.4907, allocations: 8.031 kB / 1.473 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.4908, allocations: 31.8 kB / 1.473 GB, free: 10.56 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.4912, allocations: 233.6 kB / 1.474 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4912, allocations: 16 kB / 1.474 GB, free: 10.29 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.4913, allocations: 24 kB / 1.474 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.4917, allocations: 257.7 kB / 1.474 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4918, allocations: 0 / 1.474 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.4918, allocations: 11.94 kB / 1.474 GB, free: 9.965 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4918, allocations: 4 kB / 1.474 GB, free: 9.961 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.4922, allocations: 151.8 kB / 1.474 GB, free: 9.812 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.4935, allocations: 1.227 MB / 1.475 GB, free: 8.512 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.4938, allocations: 175.7 kB / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.494, allocations: 101 kB / 1.476 GB, free: 8.168 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.4944, allocations: 39.94 kB / 1.476 GB, free: 8.129 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4944, allocations: 38.5 kB / 1.476 GB, free: 8.082 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.4944, allocations: 0 / 1.476 GB, free: 8.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006351/0.495, allocations: 213.3 kB / 1.476 GB, free: 7.867 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.4952, allocations: 183.9 kB / 1.476 GB, free: 7.645 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.4954, allocations: 199.9 kB / 1.476 GB, free: 7.441 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.4954, allocations: 33.7 kB / 1.476 GB, free: 7.402 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.4955, allocations: 168.2 kB / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.4956, allocations: 31.7 kB / 1.476 GB, free: 7.199 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.4956, allocations: 34.23 kB / 1.476 GB, free: 7.16 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4958, allocations: 334.8 kB / 1.477 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4959, allocations: 47.95 kB / 1.477 GB, free: 6.777 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.4962, allocations: 224.8 kB / 1.477 GB, free: 6.508 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.4965, allocations: 158.7 kB / 1.477 GB, free: 6.328 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4965, allocations: 0 / 1.477 GB, free: 6.328 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003919/0.4969, allocations: 173.3 kB / 1.477 GB, free: 6.152 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4969, allocations: 11.98 kB / 1.477 GB, free: 6.141 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4969, allocations: 4.156 kB / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.497, allocations: 8 kB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4971, allocations: 35.92 kB / 1.477 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4971, allocations: 0 / 1.477 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.4973, allocations: 27.81 kB / 1.477 GB, free: 6.066 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.4973, allocations: 8.312 kB / 1.477 GB, free: 6.059 MB / 1.17 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.0001407/0.4974, allocations: 149.8 kB / 1.478 GB, free: 5.902 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4976, allocations: 23.92 kB / 1.478 GB, free: 5.879 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.4979, allocations: 134.6 kB / 1.478 GB, free: 5.742 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4979, allocations: 4 kB / 1.478 GB, free: 5.738 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4979, allocations: 0 / 1.478 GB, free: 5.738 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4979, allocations: 4 kB / 1.478 GB, free: 5.734 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.4989, allocations: 0.7024 MB / 1.478 GB, free: 4.977 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4989, allocations: 3.984 kB / 1.478 GB, free: 4.973 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.499, allocations: 23.98 kB / 1.478 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.499, allocations: 160 / 1.478 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.499, allocations: 8 kB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.499, allocations: 0 / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.499, allocations: 7.938 kB / 1.478 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.4996, allocations: 335.5 kB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.4996, allocations: 27.88 kB / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.4997, allocations: 4 kB / 1.479 GB, free: 4.543 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4998, allocations: 4 kB / 1.479 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.4998, allocations: 16.05 kB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.4999, allocations: 7.984 kB / 1.479 GB, free: 4.516 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001571/0.5, allocations: 152.6 kB / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5, allocations: 0 / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003469/0.5004, allocations: 59.83 kB / 1.479 GB, free: 4.309 MB / 1.17 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.000207/0.5006, allocations: 127.1 kB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.5009, allocations: 120 kB / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5009, allocations: 0 / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.5011, allocations: 59.89 kB / 1.479 GB, free: 4 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.5016, allocations: 73.45 kB / 1.479 GB, free: 3.93 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.5024, allocations: 476.1 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.5026, allocations: 145.8 kB / 1.48 GB, free: 3.258 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000112/0.5027, allocations: 45.45 kB / 1.48 GB, free: 3.215 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.5027, allocations: 15.44 kB / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of SimCode: time 3.1e-07/0.5027, allocations: 0 / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of Templates: time 0.007014/0.5097, allocations: 3.077 MB / 1.483 GB, free: 196 kB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.67337709000276]