Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 110.2 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 189.5 kB / 22.23 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 68.09 kB / 1.061 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8742/0.8763, allocations: 160.8 MB / 1.218 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2004/1.077, allocations: 160.8 MB / 1.375 GB, free: 5.914 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006465/1.083, allocations: 3.849 MB / 1.379 GB, free: 2.055 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/1.084, allocations: 19.81 kB / 1.379 GB, free: 2.035 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007467/1.084, allocations: 190.7 kB / 1.379 GB, free: 1.848 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002678/1.087, allocations: 0.8829 MB / 1.38 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/1.088, allocations: 458.9 kB / 1.381 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001652/1.09, allocations: 1.061 MB / 1.382 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/1.09, allocations: 240.8 kB / 1.382 GB, free: 15.21 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009221/1.091, allocations: 426.3 kB / 1.382 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/1.093, allocations: 359.1 kB / 1.383 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/1.093, allocations: 28 kB / 1.383 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/1.094, allocations: 0.7793 MB / 1.384 GB, free: 13.64 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/1.095, allocations: 163.5 kB / 1.384 GB, free: 13.48 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/1.095, allocations: 207 kB / 1.384 GB, free: 13.28 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/1.096, allocations: 0.7592 MB / 1.385 GB, free: 12.52 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.096, allocations: 0 / 1.385 GB, free: 12.52 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.243e-06/1.096, allocations: 0 / 1.385 GB, free: 12.52 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.681e-05/1.096, allocations: 0 / 1.385 GB, free: 12.52 MB / 1.092 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.00139/1.098, allocations: 0.7511 MB / 1.385 GB, free: 11.71 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.098, allocations: 8.031 kB / 1.385 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.099, allocations: 151.6 kB / 1.386 GB, free: 11.56 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/1.1, allocations: 407.3 kB / 1.386 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/1.1, allocations: 20.66 kB / 1.386 GB, free: 11.1 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/1.1, allocations: 36 kB / 1.386 GB, free: 11.07 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/1.1, allocations: 326 kB / 1.386 GB, free: 10.74 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.101, allocations: 0 / 1.386 GB, free: 10.74 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/1.101, allocations: 11.94 kB / 1.386 GB, free: 10.73 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.101, allocations: 12 kB / 1.386 GB, free: 10.72 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/1.101, allocations: 310.4 kB / 1.387 GB, free: 10.42 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/1.103, allocations: 1.213 MB / 1.388 GB, free: 9.094 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/1.104, allocations: 271.4 kB / 1.388 GB, free: 8.82 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/1.104, allocations: 172 kB / 1.388 GB, free: 8.652 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/1.104, allocations: 194.5 kB / 1.388 GB, free: 8.426 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.104, allocations: 34.84 kB / 1.388 GB, free: 8.383 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/1.104, allocations: 0 / 1.388 GB, free: 8.383 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.002295/1.107, allocations: 1.044 MB / 1.389 GB, free: 7.289 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.107, allocations: 55.41 kB / 1.389 GB, free: 7.223 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/1.107, allocations: 320.5 kB / 1.39 GB, free: 6.902 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/1.107, allocations: 29.7 kB / 1.39 GB, free: 6.867 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.107, allocations: 180.8 kB / 1.39 GB, free: 6.688 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.107, allocations: 134.8 kB / 1.39 GB, free: 6.555 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.108, allocations: 61.7 kB / 1.39 GB, free: 6.488 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.108, allocations: 342.8 kB / 1.39 GB, free: 6.145 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/1.108, allocations: 115.9 kB / 1.391 GB, free: 6.031 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/1.108, allocations: 163.8 kB / 1.391 GB, free: 5.863 MB / 1.092 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.001912/1.11, allocations: 0.7647 MB / 1.392 GB, free: 5.074 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.11, allocations: 0 / 1.392 GB, free: 5.074 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006551/1.111, allocations: 357 kB / 1.392 GB, free: 4.719 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.111, allocations: 4 kB / 1.392 GB, free: 4.715 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.111, allocations: 0 / 1.392 GB, free: 4.715 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.111, allocations: 7.938 kB / 1.392 GB, free: 4.707 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/1.111, allocations: 67.91 kB / 1.392 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/1.111, allocations: 3.984 kB / 1.392 GB, free: 4.637 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/1.112, allocations: 12 kB / 1.392 GB, free: 4.625 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/1.112, allocations: 23.95 kB / 1.392 GB, free: 4.602 MB / 1.092 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.0002315/1.112, allocations: 168.9 kB / 1.392 GB, free: 4.43 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/1.112, allocations: 39.77 kB / 1.392 GB, free: 4.391 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/1.112, allocations: 52 kB / 1.392 GB, free: 4.336 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/1.112, allocations: 7.938 kB / 1.392 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.112, allocations: 0 / 1.392 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006478/1.113, allocations: 404.2 kB / 1.393 GB, free: 3.902 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/1.115, allocations: 1.072 MB / 1.394 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.115, allocations: 4 kB / 1.394 GB, free: 2.723 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/1.115, allocations: 84.3 kB / 1.394 GB, free: 2.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/1.115, allocations: 12 kB / 1.394 GB, free: 2.629 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/1.115, allocations: 8 kB / 1.394 GB, free: 2.621 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/1.115, allocations: 15.88 kB / 1.394 GB, free: 2.605 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.115, allocations: 4 kB / 1.394 GB, free: 2.602 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/1.116, allocations: 0.6805 MB / 1.394 GB, free: 1.859 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/1.117, allocations: 144.8 kB / 1.395 GB, free: 1.699 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/1.117, allocations: 15.94 kB / 1.395 GB, free: 1.684 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/1.117, allocations: 19.98 kB / 1.395 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/1.117, allocations: 36.06 kB / 1.395 GB, free: 1.629 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/1.117, allocations: 19.92 kB / 1.395 GB, free: 1.609 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002799/1.117, allocations: 231 kB / 1.395 GB, free: 1.387 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.117, allocations: 11.88 kB / 1.395 GB, free: 1.375 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005142/1.118, allocations: 107.9 kB / 1.395 GB, free: 1.27 MB / 1.092 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.0004596/1.118, allocations: 166.1 kB / 1.395 GB, free: 1.105 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006726/1.119, allocations: 295.7 kB / 1.395 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.119, allocations: 3.938 kB / 1.395 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/1.119, allocations: 167 kB / 1.396 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.121, allocations: 221.3 kB / 1.396 GB, free: 452 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/1.122, allocations: 0.9699 MB / 1.397 GB, free: 15.39 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/1.123, allocations: 0.8274 MB / 1.398 GB, free: 14.54 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003442/1.123, allocations: 99.19 kB / 1.398 GB, free: 14.44 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.123, allocations: 35.44 kB / 1.398 GB, free: 14.41 MB / 1.107 GB Notification: Performance of SimCode: time 6.81e-07/1.123, allocations: 0 / 1.398 GB, free: 14.41 MB / 1.107 GB Notification: Performance of Templates: time 0.01623/1.14, allocations: 7.689 MB / 1.405 GB, free: 6.844 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.486386187374592]