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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00175/0.00175, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.002004/0.002005, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437.1 MB / 0.7108 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.88 kB / 0.8694 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6361, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1881/0.8242, allocations: 157.9 MB / 1.172 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005728/0.83, allocations: 3.778 MB / 1.175 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.8305, allocations: 7.938 kB / 1.175 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.8312, allocations: 163 kB / 1.176 GB, free: 372 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.8335, allocations: 0.7899 MB / 1.176 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.8346, allocations: 405 kB / 1.177 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.8361, allocations: 1.022 MB / 1.178 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.8367, allocations: 286.1 kB / 1.178 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000774/0.8375, allocations: 402.5 kB / 1.178 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.8385, allocations: 339.6 kB / 1.179 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.917e-05/0.8386, allocations: 32 kB / 1.179 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.8401, allocations: 0.7481 MB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.8403, allocations: 163.6 kB / 1.18 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.8406, allocations: 222.9 kB / 1.18 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008709/0.8415, allocations: 0.5419 MB / 1.18 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8415, allocations: 0 / 1.18 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8415, allocations: 0 / 1.18 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.8415, allocations: 0 / 1.18 GB, free: 11.45 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.001243/0.8428, allocations: 0.7401 MB / 1.181 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8428, allocations: 8.031 kB / 1.181 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.8439, allocations: 143.3 kB / 1.181 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.8445, allocations: 386.5 kB / 1.182 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.8445, allocations: 20.66 kB / 1.182 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.8446, allocations: 36 kB / 1.182 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.8453, allocations: 322 kB / 1.182 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.8453, allocations: 0 / 1.182 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.8454, allocations: 12 kB / 1.182 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.8454, allocations: 8 kB / 1.182 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.846, allocations: 310.3 kB / 1.182 GB, free: 9.391 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.001866/0.8478, allocations: 1.201 MB / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.8484, allocations: 293.6 kB / 1.184 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.8487, allocations: 190.7 kB / 1.184 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.849, allocations: 190.5 kB / 1.184 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.8491, allocations: 38.83 kB / 1.184 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.8491, allocations: 0 / 1.184 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002264/0.8513, allocations: 1.023 MB / 1.185 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.8514, allocations: 55.41 kB / 1.185 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.8518, allocations: 324.5 kB / 1.185 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.8518, allocations: 33.7 kB / 1.186 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.852, allocations: 180.7 kB / 1.186 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.8521, allocations: 122.2 kB / 1.186 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.8522, allocations: 57.7 kB / 1.186 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.8524, allocations: 346.8 kB / 1.186 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.8527, allocations: 119.7 kB / 1.186 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.853, allocations: 162.4 kB / 1.186 GB, free: 4.82 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.001856/0.8548, allocations: 0.7629 MB / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8548, allocations: 3.938 kB / 1.187 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006651/0.8555, allocations: 364.7 kB / 1.188 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.8555, allocations: 7.984 kB / 1.188 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8556, allocations: 0 / 1.188 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.8556, allocations: 7.938 kB / 1.188 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.8559, allocations: 67.91 kB / 1.188 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8559, allocations: 0 / 1.188 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.8563, allocations: 23.89 kB / 1.188 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.8563, allocations: 16 kB / 1.188 GB, free: 3.547 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.000235/0.8566, allocations: 177.7 kB / 1.188 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.8567, allocations: 35.56 kB / 1.188 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.8568, allocations: 56.05 kB / 1.188 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.8568, allocations: 7.938 kB / 1.188 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8568, allocations: 0 / 1.188 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006255/0.8574, allocations: 404.2 kB / 1.188 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.8592, allocations: 1.072 MB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8593, allocations: 4 kB / 1.189 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.8596, allocations: 88.36 kB / 1.189 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.8597, allocations: 8 kB / 1.189 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.8597, allocations: 8 kB / 1.189 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/0.8597, allocations: 15.92 kB / 1.189 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8597, allocations: 7.938 kB / 1.19 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.8607, allocations: 0.6856 MB / 1.19 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.8609, allocations: 140.6 kB / 1.19 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.861, allocations: 19.92 kB / 1.19 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.8614, allocations: 24.05 kB / 1.19 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.8615, allocations: 31.91 kB / 1.19 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.8615, allocations: 15.94 kB / 1.19 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000258/0.8618, allocations: 235 kB / 1.191 GB, free: 324 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8618, allocations: 0 / 1.191 GB, free: 324 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000481/0.8623, allocations: 108 kB / 1.191 GB, free: 216 kB / 0.9356 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.0004258/0.8627, allocations: 176.5 kB / 1.191 GB, free: 40 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006879/0.8634, allocations: 315.7 kB / 1.191 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8634, allocations: 0 / 1.191 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.8637, allocations: 176.6 kB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.8649, allocations: 223.7 kB / 1.192 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.8666, allocations: 1.143 MB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.8671, allocations: 0.8196 MB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.8673, allocations: 39.44 kB / 1.194 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.8673, allocations: 0 / 1.194 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.00996/0.8772, allocations: 5.89 MB / 1.199 GB, free: 7.402 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=400 -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