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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_10_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.001346/0.001346, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7106 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.672, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1625/0.8346, allocations: 157.9 MB / 1.171 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.8397, allocations: 3.828 MB / 1.175 GB, free: 472 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.8402, allocations: 11.94 kB / 1.175 GB, free: 460 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.8408, allocations: 155 kB / 1.175 GB, free: 304 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.8427, allocations: 0.79 MB / 1.176 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.8437, allocations: 382.2 kB / 1.176 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.8451, allocations: 1.405 MB / 1.178 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.8455, allocations: 244.9 kB / 1.178 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006003/0.8461, allocations: 370.5 kB / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.847, allocations: 326.7 kB / 1.179 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.8471, allocations: 16 kB / 1.179 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.8485, allocations: 0.8455 MB / 1.18 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.8487, allocations: 147.6 kB / 1.18 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.8489, allocations: 206.9 kB / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.8496, allocations: 0.5341 MB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8496, allocations: 0 / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.21e-07/0.8496, allocations: 0 / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.8496, allocations: 4 kB / 1.18 GB, free: 11.05 MB / 0.9356 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.001125/0.8508, allocations: 0.7401 MB / 1.181 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.8508, allocations: 12.03 kB / 1.181 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.8519, allocations: 147.3 kB / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.8524, allocations: 378.5 kB / 1.182 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.8525, allocations: 24.66 kB / 1.182 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.8525, allocations: 36 kB / 1.182 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.8531, allocations: 330 kB / 1.182 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.8532, allocations: 3.984 kB / 1.182 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.8532, allocations: 12 kB / 1.182 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.8532, allocations: 4 kB / 1.182 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.8538, allocations: 310.4 kB / 1.182 GB, free: 8.984 MB / 0.9356 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.001613/0.8554, allocations: 1.209 MB / 1.184 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.8558, allocations: 289.4 kB / 1.184 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.8561, allocations: 187.2 kB / 1.184 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/0.8564, allocations: 190.5 kB / 1.184 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.8565, allocations: 38.84 kB / 1.184 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.053e-06/0.8565, allocations: 0 / 1.184 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002046/0.8585, allocations: 1.031 MB / 1.185 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.8586, allocations: 55.41 kB / 1.185 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.8589, allocations: 316.5 kB / 1.186 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.8589, allocations: 37.7 kB / 1.186 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.859, allocations: 180.7 kB / 1.186 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.8591, allocations: 122.2 kB / 1.186 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8593, allocations: 57.7 kB / 1.186 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8594, allocations: 354.7 kB / 1.186 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.8596, allocations: 123.7 kB / 1.186 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.8599, allocations: 155.1 kB / 1.187 GB, free: 4.406 MB / 0.9356 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.001746/0.8616, allocations: 0.7603 MB / 1.187 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8616, allocations: 4 kB / 1.187 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005812/0.8622, allocations: 356.7 kB / 1.188 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8623, allocations: 9.875 kB / 1.188 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8623, allocations: 0 / 1.188 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8623, allocations: 3.938 kB / 1.188 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.8626, allocations: 67.89 kB / 1.188 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.8626, allocations: 4 kB / 1.188 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.863, allocations: 28.48 kB / 1.188 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.863, allocations: 12 kB / 1.188 GB, free: 3.141 MB / 0.9356 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.000204/0.8632, allocations: 181.7 kB / 1.188 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.8633, allocations: 35.56 kB / 1.188 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.8634, allocations: 52.06 kB / 1.188 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8634, allocations: 7.938 kB / 1.188 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.8634, allocations: 7.984 kB / 1.188 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005431/0.864, allocations: 404.2 kB / 1.188 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.8656, allocations: 1.065 MB / 1.189 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8656, allocations: 4 kB / 1.189 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.866, allocations: 83.89 kB / 1.19 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.866, allocations: 4 kB / 1.19 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.866, allocations: 12 kB / 1.19 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.866, allocations: 15.86 kB / 1.19 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.866, allocations: 8 kB / 1.19 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.867, allocations: 0.6763 MB / 1.19 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.8671, allocations: 148.6 kB / 1.19 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.8672, allocations: 16 kB / 1.19 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.8676, allocations: 19.98 kB / 1.19 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.8676, allocations: 35.89 kB / 1.19 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.8677, allocations: 19.94 kB / 1.19 GB, free: 144 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002313/0.8679, allocations: 231 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8679, allocations: 0 / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004689/0.8684, allocations: 112 kB / 1.191 GB, free: 15.81 MB / 0.9512 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.0004031/0.8688, allocations: 169.5 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.8694, allocations: 295.8 kB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8694, allocations: 0 / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.8697, allocations: 165.3 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.8708, allocations: 219.4 kB / 1.192 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.8724, allocations: 1.135 MB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.8728, allocations: 0.8273 MB / 1.194 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.8729, allocations: 35.44 kB / 1.194 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.8729, allocations: 4 kB / 1.194 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of Templates: time 0.008379/0.8813, allocations: 5.864 MB / 1.199 GB, free: 7.066 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches