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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 110.5 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001338, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7716, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1743/0.9459, allocations: 160.1 MB / 1.365 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005609/0.9516, allocations: 3.808 MB / 1.369 GB, free: 9.039 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.9522, allocations: 11.94 kB / 1.369 GB, free: 9.027 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.953, allocations: 182.7 kB / 1.369 GB, free: 8.848 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.9554, allocations: 0.8439 MB / 1.37 GB, free: 8 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.9565, allocations: 424.3 kB / 1.37 GB, free: 7.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.9579, allocations: 1.022 MB / 1.371 GB, free: 6.562 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.9583, allocations: 294.6 kB / 1.371 GB, free: 6.273 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.9589, allocations: 414.3 kB / 1.372 GB, free: 5.867 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.9597, allocations: 322.7 kB / 1.372 GB, free: 5.551 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.9598, allocations: 32 kB / 1.372 GB, free: 5.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.9611, allocations: 0.7092 MB / 1.373 GB, free: 4.809 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.9613, allocations: 163.6 kB / 1.373 GB, free: 4.648 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.9615, allocations: 210.9 kB / 1.373 GB, free: 4.441 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.9626, allocations: 0.7496 MB / 1.374 GB, free: 3.691 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9627, allocations: 0 / 1.374 GB, free: 3.691 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9627, allocations: 0 / 1.374 GB, free: 3.691 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.9627, allocations: 0 / 1.374 GB, free: 3.691 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.001221/0.9639, allocations: 0.7517 MB / 1.374 GB, free: 2.891 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.9639, allocations: 8.031 kB / 1.374 GB, free: 2.883 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.965, allocations: 147.4 kB / 1.375 GB, free: 2.738 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.9656, allocations: 394.5 kB / 1.375 GB, free: 2.316 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.9657, allocations: 24.66 kB / 1.375 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.9657, allocations: 35.91 kB / 1.375 GB, free: 2.258 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.9663, allocations: 330 kB / 1.375 GB, free: 1.926 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.9664, allocations: 0 / 1.375 GB, free: 1.926 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.9664, allocations: 12 kB / 1.375 GB, free: 1.914 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.9664, allocations: 4 kB / 1.375 GB, free: 1.91 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.9669, allocations: 318.3 kB / 1.376 GB, free: 1.602 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.001701/0.9687, allocations: 1.197 MB / 1.377 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.9691, allocations: 293.7 kB / 1.377 GB, free: 0 / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.9695, allocations: 187.4 kB / 1.377 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.9698, allocations: 190.5 kB / 1.377 GB, free: 15.59 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.9698, allocations: 42.78 kB / 1.378 GB, free: 15.54 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.9698, allocations: 4 kB / 1.378 GB, free: 15.54 MB / 1.107 GB Notification: Performance of matching and sorting (n=35): time 0.002123/0.9719, allocations: 1.023 MB / 1.379 GB, free: 14.46 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.972, allocations: 59.41 kB / 1.379 GB, free: 14.39 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.9723, allocations: 316.5 kB / 1.379 GB, free: 14.08 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.9724, allocations: 29.7 kB / 1.379 GB, free: 14.05 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.9725, allocations: 176.8 kB / 1.379 GB, free: 13.87 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.9726, allocations: 118.2 kB / 1.379 GB, free: 13.75 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.9727, allocations: 65.69 kB / 1.379 GB, free: 13.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9729, allocations: 342.8 kB / 1.38 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.9731, allocations: 115.9 kB / 1.38 GB, free: 13.23 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.9734, allocations: 171.7 kB / 1.38 GB, free: 13.05 MB / 1.107 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.001756/0.9752, allocations: 0.7738 MB / 1.381 GB, free: 12.25 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9752, allocations: 0 / 1.381 GB, free: 12.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006033/0.9758, allocations: 352.9 kB / 1.381 GB, free: 11.9 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9758, allocations: 4 kB / 1.381 GB, free: 11.9 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.9758, allocations: 4 kB / 1.381 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.9758, allocations: 3.938 kB / 1.381 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.9762, allocations: 71.94 kB / 1.381 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9762, allocations: 0 / 1.381 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.9765, allocations: 18.17 kB / 1.381 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.9766, allocations: 8 kB / 1.381 GB, free: 11.8 MB / 1.107 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.0002074/0.9768, allocations: 173.8 kB / 1.381 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.9769, allocations: 35.62 kB / 1.381 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.977, allocations: 52 kB / 1.381 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.977, allocations: 4 kB / 1.381 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.977, allocations: 4 kB / 1.381 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005753/0.9776, allocations: 416.4 kB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.9792, allocations: 1.069 MB / 1.383 GB, free: 9.914 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9793, allocations: 4.047 kB / 1.383 GB, free: 9.91 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.9796, allocations: 87.88 kB / 1.383 GB, free: 9.824 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.9796, allocations: 4 kB / 1.383 GB, free: 9.82 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.9797, allocations: 12 kB / 1.383 GB, free: 9.809 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.9797, allocations: 7.938 kB / 1.383 GB, free: 9.801 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.9797, allocations: 7.938 kB / 1.383 GB, free: 9.793 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.9806, allocations: 0.6835 MB / 1.384 GB, free: 9.047 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.9808, allocations: 144.6 kB / 1.384 GB, free: 8.887 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.9808, allocations: 20 kB / 1.384 GB, free: 8.867 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.9812, allocations: 15.98 kB / 1.384 GB, free: 8.852 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.9813, allocations: 35.84 kB / 1.384 GB, free: 8.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.9813, allocations: 19.98 kB / 1.384 GB, free: 8.797 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002463/0.9815, allocations: 227 kB / 1.384 GB, free: 8.574 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9816, allocations: 4 kB / 1.384 GB, free: 8.57 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004663/0.982, allocations: 108 kB / 1.384 GB, free: 8.465 MB / 1.107 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.0003906/0.9824, allocations: 163.2 kB / 1.384 GB, free: 8.297 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005808/0.983, allocations: 314.3 kB / 1.385 GB, free: 7.992 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.983, allocations: 0 / 1.385 GB, free: 7.992 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.9833, allocations: 175.9 kB / 1.385 GB, free: 7.82 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.9845, allocations: 221.8 kB / 1.385 GB, free: 7.609 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.986, allocations: 0.9824 MB / 1.386 GB, free: 6.547 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.9864, allocations: 0.8313 MB / 1.387 GB, free: 5.691 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.9866, allocations: 35.44 kB / 1.387 GB, free: 5.656 MB / 1.107 GB Notification: Performance of SimCode: time 4.11e-07/0.9866, allocations: 0 / 1.387 GB, free: 5.656 MB / 1.107 GB Notification: Performance of Templates: time 0.009089/0.9957, allocations: 5.928 MB / 1.393 GB, free: 15.78 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) 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) Reference file matches