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.001936/0.001936, allocations: 79.19 kB / 19.18 MB, free: 2.523 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.00348/0.00348, allocations: 167.3 kB / 22.46 MB, free: 5.371 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.542/1.542, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.96/2.96, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.404e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1957/0.1958, allocations: 142.2 MB / 1.09 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006564/0.2023, allocations: 4.166 MB / 1.094 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.2028, allocations: 11.88 kB / 1.094 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.2034, allocations: 131 kB / 1.094 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2044, allocations: 354.1 kB / 1.094 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2054, allocations: 318.5 kB / 1.095 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007729/0.2062, allocations: 0.5572 MB / 1.095 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.2066, allocations: 169.2 kB / 1.095 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.2078, allocations: 0.5294 MB / 1.096 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.2081, allocations: 171.5 kB / 1.096 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.2081, allocations: 23.92 kB / 1.096 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.2083, allocations: 75.94 kB / 1.096 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2084, allocations: 87.7 kB / 1.096 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.2086, allocations: 79.84 kB / 1.096 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.2091, allocations: 315 kB / 1.097 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.2092, allocations: 4 kB / 1.097 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2092, allocations: 4 kB / 1.097 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.2092, allocations: 0 / 1.097 GB, free: 5.84 MB / 0.9981 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.001158/0.2103, allocations: 468.8 kB / 1.097 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2104, allocations: 8.031 kB / 1.097 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.2105, allocations: 35.75 kB / 1.097 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.211, allocations: 225.6 kB / 1.097 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.211, allocations: 16 kB / 1.097 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.211, allocations: 16 kB / 1.097 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.2116, allocations: 265.8 kB / 1.098 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2116, allocations: 0 / 1.098 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2116, allocations: 15.94 kB / 1.098 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2116, allocations: 4 kB / 1.098 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.212, allocations: 151.7 kB / 1.098 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.2136, allocations: 1.239 MB / 1.099 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.214, allocations: 175.7 kB / 1.099 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2142, allocations: 93.11 kB / 1.099 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/0.2145, allocations: 43.94 kB / 1.099 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.2146, allocations: 42.5 kB / 1.099 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.2146, allocations: 0 / 1.099 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007276/0.2153, allocations: 197.8 kB / 1.1 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.2155, allocations: 191.9 kB / 1.1 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.2158, allocations: 196.3 kB / 1.1 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2158, allocations: 29.7 kB / 1.1 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.216, allocations: 164.1 kB / 1.1 GB, free: 2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.216, allocations: 39.75 kB / 1.1 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.2161, allocations: 37.7 kB / 1.1 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2163, allocations: 326.8 kB / 1.1 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2165, allocations: 48.12 kB / 1.1 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.2168, allocations: 222.4 kB / 1.101 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.2172, allocations: 159 kB / 1.101 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2172, allocations: 4 kB / 1.101 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000442/0.2176, allocations: 185.3 kB / 1.101 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.2176, allocations: 8 kB / 1.101 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2176, allocations: 0 / 1.101 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/0.2177, allocations: 4.219 kB / 1.101 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2179, allocations: 35.92 kB / 1.101 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.2179, allocations: 7.922 kB / 1.101 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.218, allocations: 19.89 kB / 1.101 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.2181, allocations: 11.98 kB / 1.101 GB, free: 0.8164 MB / 0.9981 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.0001914/0.2182, allocations: 145.8 kB / 1.101 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.2184, allocations: 23.86 kB / 1.101 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.2188, allocations: 122.8 kB / 1.101 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2188, allocations: 4 kB / 1.101 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2188, allocations: 3.938 kB / 1.101 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2188, allocations: 0 / 1.101 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6488/0.8676, allocations: 0.6919 MB / 1.102 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8676, allocations: 2.359 kB / 1.102 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.8678, allocations: 27.73 kB / 1.102 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.8678, allocations: 2.938 kB / 1.102 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.8679, allocations: 3.078 kB / 1.102 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.8679, allocations: 3.156 kB / 1.102 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.8679, allocations: 2.844 kB / 1.102 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.8685, allocations: 332.5 kB / 1.102 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.8686, allocations: 30.2 kB / 1.102 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.8686, allocations: 7.188 kB / 1.102 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.8687, allocations: 8.469 kB / 1.102 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.8688, allocations: 13.48 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.8688, allocations: 5.906 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001408/0.869, allocations: 144.2 kB / 1.103 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.869, allocations: 0.9375 kB / 1.103 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004364/0.8694, allocations: 62.44 kB / 1.103 GB, free: 163.2 MB / 0.9981 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.000283/0.8697, allocations: 130.1 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.8701, allocations: 121.9 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8701, allocations: 1.781 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.8703, allocations: 61.67 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.8709, allocations: 68.53 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008825/0.8717, allocations: 440.4 kB / 1.103 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.8719, allocations: 150.8 kB / 1.104 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.872, allocations: 38.69 kB / 1.104 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.8721, allocations: 18.95 kB / 1.104 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.8721, allocations: 0.7812 kB / 1.104 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.009177/0.8813, allocations: 2.733 MB / 1.106 GB, free: 162.6 MB / 0.9981 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/jenkins/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: 9.259480115026236]