Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001423/0.001423, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001528/0.001528, allocations: 224.2 kB / 23 MB, free: 4.914 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [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.00205/0.00205, allocations: 65.38 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1888/0.5362, allocations: 141.1 MB / 1.502 GB, free: 15.98 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006206/0.5424, allocations: 3.545 MB / 1.506 GB, free: 12.42 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.543, allocations: 19.81 kB / 1.506 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008131/0.5438, allocations: 190.7 kB / 1.506 GB, free: 12.21 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.5465, allocations: 0.8557 MB / 1.507 GB, free: 11.35 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.5478, allocations: 440.2 kB / 1.507 GB, free: 10.93 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.5494, allocations: 1.038 MB / 1.508 GB, free: 9.883 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.5498, allocations: 233.1 kB / 1.509 GB, free: 9.652 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.551, allocations: 0.6072 MB / 1.509 GB, free: 9.043 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.5521, allocations: 327.1 kB / 1.509 GB, free: 8.727 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.5522, allocations: 28 kB / 1.509 GB, free: 8.699 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.5534, allocations: 0.596 MB / 1.51 GB, free: 8.102 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.5537, allocations: 167.5 kB / 1.51 GB, free: 7.938 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.5539, allocations: 187.1 kB / 1.51 GB, free: 7.754 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.5551, allocations: 0.7319 MB / 1.511 GB, free: 7.02 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5551, allocations: 3.938 kB / 1.511 GB, free: 7.016 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5551, allocations: 0 / 1.511 GB, free: 7.016 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.5551, allocations: 0 / 1.511 GB, free: 7.016 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001202/0.5563, allocations: 0.6736 MB / 1.512 GB, free: 6.312 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5563, allocations: 16.03 kB / 1.512 GB, free: 6.297 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5573, allocations: 151.6 kB / 1.512 GB, free: 6.148 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.558, allocations: 336.1 kB / 1.512 GB, free: 5.793 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.558, allocations: 24.66 kB / 1.512 GB, free: 5.77 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.5581, allocations: 32 kB / 1.512 GB, free: 5.738 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.5587, allocations: 428.8 kB / 1.513 GB, free: 5.289 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.5588, allocations: 0 / 1.513 GB, free: 5.289 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.5588, allocations: 12 kB / 1.513 GB, free: 5.277 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5588, allocations: 15.94 kB / 1.513 GB, free: 5.262 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.5594, allocations: 302.4 kB / 1.513 GB, free: 4.965 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.5609, allocations: 0.8085 MB / 1.514 GB, free: 4.121 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.5614, allocations: 275.3 kB / 1.514 GB, free: 3.844 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.5617, allocations: 169.3 kB / 1.514 GB, free: 3.676 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.5619, allocations: 40.25 kB / 1.514 GB, free: 3.637 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.562, allocations: 38.84 kB / 1.514 GB, free: 3.59 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.562, allocations: 0 / 1.514 GB, free: 3.59 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002162/0.5641, allocations: 0.9471 MB / 1.515 GB, free: 2.609 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.5642, allocations: 59.34 kB / 1.515 GB, free: 2.539 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.5645, allocations: 264.2 kB / 1.516 GB, free: 2.273 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.5645, allocations: 33.7 kB / 1.516 GB, free: 2.234 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.5647, allocations: 180.7 kB / 1.516 GB, free: 2.055 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.5648, allocations: 126.9 kB / 1.516 GB, free: 1.93 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.5649, allocations: 69.64 kB / 1.516 GB, free: 1.855 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.5651, allocations: 338.8 kB / 1.516 GB, free: 1.516 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.5653, allocations: 119.9 kB / 1.516 GB, free: 1.398 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.5657, allocations: 269 kB / 1.517 GB, free: 1.102 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.5675, allocations: 0.6868 MB / 1.517 GB, free: 420 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5675, allocations: 0 / 1.517 GB, free: 420 kB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006139/0.5681, allocations: 352.9 kB / 1.518 GB, free: 60 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5681, allocations: 8.031 kB / 1.518 GB, free: 52 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.5681, allocations: 7.922 kB / 1.518 GB, free: 44 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.5681, allocations: 4 kB / 1.518 GB, free: 40 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.5685, allocations: 67.91 kB / 1.518 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5685, allocations: 3.938 kB / 1.518 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.5688, allocations: 17.11 kB / 1.518 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.5688, allocations: 12 kB / 1.518 GB, free: 15.94 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0002347/0.5691, allocations: 172.4 kB / 1.518 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.5691, allocations: 35.81 kB / 1.518 GB, free: 15.73 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.5693, allocations: 47.03 kB / 1.518 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5693, allocations: 4 kB / 1.518 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5693, allocations: 3.938 kB / 1.518 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006012/0.5699, allocations: 404.2 kB / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.5717, allocations: 0.9452 MB / 1.519 GB, free: 14.22 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5717, allocations: 4 kB / 1.519 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.572, allocations: 79.89 kB / 1.519 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.572, allocations: 8.406 kB / 1.519 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.5721, allocations: 16 kB / 1.519 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.5721, allocations: 4 kB / 1.519 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.5721, allocations: 7.938 kB / 1.519 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.5731, allocations: 0.6803 MB / 1.52 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.5733, allocations: 59.78 kB / 1.52 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.5733, allocations: 15.98 kB / 1.52 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.5736, allocations: 26.25 kB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.5737, allocations: 35.83 kB / 1.52 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.5738, allocations: 15.98 kB / 1.52 GB, free: 13.21 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002056/0.574, allocations: 187.1 kB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.574, allocations: 0 / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004789/0.5744, allocations: 108 kB / 1.521 GB, free: 12.92 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.0003372/0.5748, allocations: 159.1 kB / 1.521 GB, free: 12.76 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006235/0.5754, allocations: 295.7 kB / 1.521 GB, free: 12.47 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5754, allocations: 0 / 1.521 GB, free: 12.47 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.5757, allocations: 163.7 kB / 1.521 GB, free: 12.31 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009873/0.5767, allocations: 183.1 kB / 1.521 GB, free: 12.13 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.5784, allocations: 1.001 MB / 1.522 GB, free: 11.06 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.5787, allocations: 230.1 kB / 1.522 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5788, allocations: 31.44 kB / 1.523 GB, free: 10.79 MB / 1.217 GB Notification: Performance of SimCode: time 7.31e-07/0.5788, allocations: 0 / 1.523 GB, free: 10.79 MB / 1.217 GB Notification: Performance of Templates: time 0.009224/0.588, allocations: 5.544 MB / 1.528 GB, free: 5.273 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.56051586382091]