Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001308/0.001308, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001559/0.001559, allocations: 211.5 kB / 22.99 MB, free: 4.953 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.316/3.316, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] 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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_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_12_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.002077/0.002077, allocations: 67 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3938, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1888/0.5826, allocations: 141.1 MB / 1.465 GB, free: 3.402 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006185/0.5888, allocations: 3.549 MB / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005579/0.5893, allocations: 19.81 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.5901, allocations: 182.7 kB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.5926, allocations: 0.8705 MB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.5938, allocations: 436.6 kB / 1.47 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.5954, allocations: 1.057 MB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.5958, allocations: 226.7 kB / 1.471 GB, free: 13.06 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.5971, allocations: 0.6111 MB / 1.472 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009773/0.5981, allocations: 341.4 kB / 1.472 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.5981, allocations: 35.94 kB / 1.472 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5994, allocations: 0.5961 MB / 1.473 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.5996, allocations: 163.5 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.5998, allocations: 175.2 kB / 1.473 GB, free: 11.15 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.6009, allocations: 0.7396 MB / 1.474 GB, free: 10.41 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6009, allocations: 4 kB / 1.474 GB, free: 10.4 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6009, allocations: 0 / 1.474 GB, free: 10.4 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.601, allocations: 4 kB / 1.474 GB, free: 10.4 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001189/0.6021, allocations: 0.6719 MB / 1.474 GB, free: 9.695 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6022, allocations: 8.031 kB / 1.474 GB, free: 9.688 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.6032, allocations: 151.6 kB / 1.474 GB, free: 9.539 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.6039, allocations: 340.1 kB / 1.475 GB, free: 9.176 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.6039, allocations: 28.66 kB / 1.475 GB, free: 9.148 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.604, allocations: 31.95 kB / 1.475 GB, free: 9.117 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.6047, allocations: 428.8 kB / 1.475 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6047, allocations: 0 / 1.475 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.6047, allocations: 16 kB / 1.475 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.6047, allocations: 8 kB / 1.475 GB, free: 8.645 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.6053, allocations: 306.4 kB / 1.476 GB, free: 8.344 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.6069, allocations: 0.7969 MB / 1.476 GB, free: 7.512 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.6074, allocations: 287.2 kB / 1.477 GB, free: 7.223 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.6077, allocations: 174.4 kB / 1.477 GB, free: 7.051 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.6079, allocations: 40.25 kB / 1.477 GB, free: 7.012 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.608, allocations: 38.84 kB / 1.477 GB, free: 6.965 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.608, allocations: 0 / 1.477 GB, free: 6.965 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.00217/0.6101, allocations: 0.9549 MB / 1.478 GB, free: 5.977 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.6102, allocations: 59.34 kB / 1.478 GB, free: 5.906 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.6104, allocations: 260.2 kB / 1.478 GB, free: 5.648 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.6105, allocations: 33.7 kB / 1.478 GB, free: 5.609 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.6106, allocations: 180.7 kB / 1.478 GB, free: 5.43 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.6107, allocations: 130.9 kB / 1.478 GB, free: 5.301 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.6109, allocations: 57.7 kB / 1.478 GB, free: 5.238 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.611, allocations: 346.8 kB / 1.479 GB, free: 4.891 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.6113, allocations: 115.7 kB / 1.479 GB, free: 4.777 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.6116, allocations: 277 kB / 1.479 GB, free: 4.473 MB / 1.17 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.001798/0.6134, allocations: 0.6743 MB / 1.48 GB, free: 3.793 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6134, allocations: 0 / 1.48 GB, free: 3.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006561/0.6141, allocations: 349 kB / 1.48 GB, free: 3.445 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6141, allocations: 10.17 kB / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6141, allocations: 4 kB / 1.48 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6141, allocations: 0 / 1.48 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.6144, allocations: 67.91 kB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.6144, allocations: 11.95 kB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.6148, allocations: 15.98 kB / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.6148, allocations: 12 kB / 1.48 GB, free: 3.328 MB / 1.17 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.0002229/0.615, allocations: 173.7 kB / 1.48 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.6151, allocations: 39.77 kB / 1.48 GB, free: 3.109 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.6152, allocations: 43.03 kB / 1.48 GB, free: 3.062 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6152, allocations: 7.938 kB / 1.48 GB, free: 3.055 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6152, allocations: 3.938 kB / 1.481 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006289/0.6158, allocations: 420.3 kB / 1.481 GB, free: 2.609 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.6175, allocations: 0.9412 MB / 1.482 GB, free: 1.586 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6175, allocations: 4 kB / 1.482 GB, free: 1.582 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.6179, allocations: 79.89 kB / 1.482 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.6179, allocations: 4 kB / 1.482 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.618, allocations: 12 kB / 1.482 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.618, allocations: 7.938 kB / 1.482 GB, free: 1.48 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.618, allocations: 4 kB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.619, allocations: 0.6886 MB / 1.483 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.6192, allocations: 63.78 kB / 1.483 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.6192, allocations: 11.98 kB / 1.483 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.6196, allocations: 16 kB / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.6196, allocations: 39.83 kB / 1.483 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.6197, allocations: 15.98 kB / 1.483 GB, free: 0.582 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001855/0.6199, allocations: 191.1 kB / 1.483 GB, free: 404 kB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6199, allocations: 0 / 1.483 GB, free: 404 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004671/0.6203, allocations: 104.1 kB / 1.483 GB, free: 300 kB / 1.17 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.0002591/0.6206, allocations: 151.1 kB / 1.483 GB, free: 140 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006124/0.6212, allocations: 300 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6212, allocations: 0 / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.6215, allocations: 162 kB / 1.484 GB, free: 15.69 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6225, allocations: 184 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6242, allocations: 0.9698 MB / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.6244, allocations: 218.2 kB / 1.485 GB, free: 14.24 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002821/0.6247, allocations: 94.89 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.6248, allocations: 31.44 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.6248, allocations: 0 / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of Templates: time 0.01381/0.6386, allocations: 7.244 MB / 1.492 GB, free: 7.031 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.54643445299007]