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.001622/0.001622, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001948/0.001948, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7343 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 70.52 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3707, allocations: 157.4 MB / 1.052 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1551/0.5258, allocations: 157.9 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004779/0.5306, allocations: 3.784 MB / 1.21 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.531, allocations: 11.94 kB / 1.21 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.5316, allocations: 155.1 kB / 1.21 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.5335, allocations: 0.7899 MB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.5343, allocations: 391 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.5354, allocations: 1.022 MB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.5358, allocations: 284.9 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.5364, allocations: 398.4 kB / 1.213 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008173/0.5373, allocations: 354.5 kB / 1.213 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.5373, allocations: 32 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.5385, allocations: 0.7442 MB / 1.214 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.5387, allocations: 167.6 kB / 1.214 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.5389, allocations: 214.9 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009601/0.5399, allocations: 0.7945 MB / 1.215 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5399, allocations: 0 / 1.215 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5399, allocations: 0 / 1.215 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5399, allocations: 0 / 1.215 GB, free: 1.09 MB / 0.9669 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.001048/0.541, allocations: 0.7402 MB / 1.216 GB, free: 304 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.541, allocations: 12.62 kB / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.5421, allocations: 147.3 kB / 1.216 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.5426, allocations: 374.5 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.5427, allocations: 24.66 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.5427, allocations: 32 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.5434, allocations: 330 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.5434, allocations: 0 / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.5434, allocations: 8 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5435, allocations: 11.98 kB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.544, allocations: 306.4 kB / 1.217 GB, free: 15.03 MB / 0.9825 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.001597/0.5456, allocations: 1.213 MB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.546, allocations: 291.3 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.5463, allocations: 186.6 kB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.5466, allocations: 190.5 kB / 1.219 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5467, allocations: 38.84 kB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.5467, allocations: 0 / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002152/0.5488, allocations: 1.042 MB / 1.22 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.5489, allocations: 55.41 kB / 1.22 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.5492, allocations: 324.5 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.5493, allocations: 33.7 kB / 1.221 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.5494, allocations: 172.8 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.5495, allocations: 122.1 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.5496, allocations: 69.62 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5498, allocations: 346.8 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.55, allocations: 115.7 kB / 1.221 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.5503, allocations: 168 kB / 1.222 GB, free: 10.43 MB / 0.9825 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.00176/0.552, allocations: 0.758 MB / 1.222 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5521, allocations: 0 / 1.222 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005925/0.5527, allocations: 356.9 kB / 1.223 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5527, allocations: 8 kB / 1.223 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5527, allocations: 0 / 1.223 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5527, allocations: 3.938 kB / 1.223 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.553, allocations: 63.91 kB / 1.223 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.553, allocations: 4 kB / 1.223 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.5534, allocations: 23.89 kB / 1.223 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.5534, allocations: 12 kB / 1.223 GB, free: 9.184 MB / 0.9825 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.0002199/0.5537, allocations: 177.7 kB / 1.223 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.5538, allocations: 35.62 kB / 1.223 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.5539, allocations: 52.06 kB / 1.223 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5539, allocations: 3.938 kB / 1.223 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.5539, allocations: 4 kB / 1.223 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005745/0.5545, allocations: 412.3 kB / 1.223 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.5561, allocations: 1.066 MB / 1.224 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.5562, allocations: 8 kB / 1.224 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.5565, allocations: 80.38 kB / 1.224 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.5566, allocations: 8 kB / 1.225 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.5566, allocations: 15.98 kB / 1.225 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.5566, allocations: 11.88 kB / 1.225 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5566, allocations: 4 kB / 1.225 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.5576, allocations: 0.6796 MB / 1.225 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.5578, allocations: 140.7 kB / 1.225 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.5578, allocations: 15.94 kB / 1.225 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.5582, allocations: 35.83 kB / 1.225 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.5583, allocations: 31.84 kB / 1.225 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.5583, allocations: 23.94 kB / 1.225 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002231/0.5585, allocations: 227 kB / 1.226 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5585, allocations: 0 / 1.226 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004666/0.559, allocations: 112 kB / 1.226 GB, free: 5.844 MB / 0.9825 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.0003953/0.5594, allocations: 176.1 kB / 1.226 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006598/0.5601, allocations: 323.6 kB / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5601, allocations: 0 / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.5604, allocations: 168.7 kB / 1.226 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5616, allocations: 219.8 kB / 1.227 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.5633, allocations: 1.086 MB / 1.228 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.5638, allocations: 0.8235 MB / 1.228 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.5642, allocations: 107.2 kB / 1.229 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.5643, allocations: 35.38 kB / 1.229 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.5643, allocations: 4 kB / 1.229 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of Templates: time 0.01295/0.5773, allocations: 7.317 MB / 1.236 GB, free: 11.62 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches