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.0008907/0.0008907, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008067/0.0008067, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8721/0.8721, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.51e-05, allocations: 9.172 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.6576/0.6577, allocations: 141 MB / 1.12 GB, free: 17.73 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003721/0.6614, allocations: 3.537 MB / 1.123 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.6616, allocations: 20.66 kB / 1.123 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.6622, allocations: 184.9 kB / 1.124 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.6637, allocations: 0.8806 MB / 1.124 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.6644, allocations: 462.6 kB / 1.125 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009319/0.6653, allocations: 1.045 MB / 1.126 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.6656, allocations: 231.1 kB / 1.126 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.6666, allocations: 0.7162 MB / 1.127 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007744/0.6674, allocations: 285.3 kB / 1.127 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.6674, allocations: 34.53 kB / 1.127 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008159/0.6682, allocations: 0.6069 MB / 1.128 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.6684, allocations: 171.6 kB / 1.128 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.6686, allocations: 151.2 kB / 1.128 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.6695, allocations: 0.7695 MB / 1.129 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6695, allocations: 0 / 1.129 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6695, allocations: 5.406 kB / 1.129 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6695, allocations: 0 / 1.129 GB, free: 12.95 MB / 0.9948 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.000811/0.6703, allocations: 0.6715 MB / 1.129 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6704, allocations: 10.77 kB / 1.129 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.671, allocations: 151.4 kB / 1.13 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.6715, allocations: 343.6 kB / 1.13 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.6715, allocations: 21.19 kB / 1.13 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.6715, allocations: 32.06 kB / 1.13 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.672, allocations: 427.5 kB / 1.13 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.672, allocations: 1.594 kB / 1.13 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.672, allocations: 14.31 kB / 1.13 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.672, allocations: 11 kB / 1.13 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.6724, allocations: 306 kB / 1.131 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6734, allocations: 0.7914 MB / 1.131 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.6738, allocations: 282.5 kB / 1.132 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.674, allocations: 173.5 kB / 1.132 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.6741, allocations: 33.14 kB / 1.132 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.6741, allocations: 38.06 kB / 1.132 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.6741, allocations: 0 / 1.132 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35): time 0.001384/0.6755, allocations: 0.9665 MB / 1.133 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.6755, allocations: 59.53 kB / 1.133 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.6757, allocations: 256.6 kB / 1.133 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.6757, allocations: 31.08 kB / 1.133 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.6758, allocations: 187.4 kB / 1.133 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.6758, allocations: 122.7 kB / 1.134 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.6759, allocations: 65.05 kB / 1.134 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.676, allocations: 343.1 kB / 1.134 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.6761, allocations: 117.3 kB / 1.134 GB, free: 9.766 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.6763, allocations: 266.6 kB / 1.134 GB, free: 9.574 MB / 0.9948 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.001106/0.6774, allocations: 0.6864 MB / 1.135 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6774, allocations: 0 / 1.135 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003898/0.6778, allocations: 356.1 kB / 1.135 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6778, allocations: 5.703 kB / 1.135 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6778, allocations: 4.734 kB / 1.135 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6778, allocations: 1.094 kB / 1.135 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.678, allocations: 68.25 kB / 1.135 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.678, allocations: 2.344 kB / 1.135 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.6782, allocations: 19.8 kB / 1.135 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.6782, allocations: 10.06 kB / 1.135 GB, free: 9.184 MB / 0.9948 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.000133/0.6783, allocations: 178.5 kB / 1.136 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.6784, allocations: 32.66 kB / 1.136 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.6784, allocations: 50.92 kB / 1.136 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6784, allocations: 4.281 kB / 1.136 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6784, allocations: 3.938 kB / 1.136 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000369/0.6788, allocations: 406.3 kB / 1.136 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.6798, allocations: 0.9459 MB / 1.137 GB, free: 8.145 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.6798, allocations: 3.562 kB / 1.137 GB, free: 8.145 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.6801, allocations: 86.42 kB / 1.137 GB, free: 8.137 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.6801, allocations: 9.594 kB / 1.137 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.6801, allocations: 10.34 kB / 1.137 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.6801, allocations: 7.5 kB / 1.137 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6801, allocations: 3.469 kB / 1.137 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.6807, allocations: 0.6895 MB / 1.138 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.6808, allocations: 58.75 kB / 1.138 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.6808, allocations: 12.08 kB / 1.138 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.681, allocations: 18.03 kB / 1.138 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.6811, allocations: 33.33 kB / 1.138 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.6811, allocations: 16.88 kB / 1.138 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001236/0.6812, allocations: 186.7 kB / 1.138 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6812, allocations: 5.344 kB / 1.138 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003248/0.6815, allocations: 108 kB / 1.138 GB, free: 7.531 MB / 0.9948 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.0002374/0.6818, allocations: 154.3 kB / 1.138 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.6822, allocations: 300.4 kB / 1.139 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6822, allocations: 0.9688 kB / 1.139 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.6824, allocations: 167.1 kB / 1.139 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.683, allocations: 181 kB / 1.139 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.6841, allocations: 0.9114 MB / 1.14 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.6843, allocations: 218.4 kB / 1.14 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.6844, allocations: 34.42 kB / 1.14 GB, free: 6.531 MB / 0.9948 GB Notification: Performance of SimCode: time 5.82e-07/0.6844, allocations: 3.938 kB / 1.14 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of Templates: time 0.008025/0.6924, allocations: 5.594 MB / 1.146 GB, free: 5.98 MB / 0.9948 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 -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/jenkins/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: 8.14077416434884]