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.008544/0.008544, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001774/0.001774, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.319, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 1.02/1.339, allocations: 160.1 MB / 1.364 GB, free: 6.246 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00589/1.345, allocations: 3.804 MB / 1.368 GB, free: 3.551 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/1.346, allocations: 16.44 kB / 1.368 GB, free: 3.543 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006158/1.346, allocations: 183.8 kB / 1.368 GB, free: 3.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/1.349, allocations: 0.8439 MB / 1.369 GB, free: 2.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/1.35, allocations: 423.2 kB / 1.369 GB, free: 2.781 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001316/1.351, allocations: 1.018 MB / 1.37 GB, free: 2.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004572/1.351, allocations: 293.8 kB / 1.371 GB, free: 2.215 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/1.352, allocations: 423.3 kB / 1.371 GB, free: 2.027 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/1.353, allocations: 317.2 kB / 1.371 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/1.353, allocations: 30.97 kB / 1.371 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/1.354, allocations: 0.7115 MB / 1.372 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/1.355, allocations: 163.6 kB / 1.372 GB, free: 1.555 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/1.355, allocations: 213.9 kB / 1.372 GB, free: 1.434 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/1.356, allocations: 0.7468 MB / 1.373 GB, free: 1.176 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.356, allocations: 0 / 1.373 GB, free: 1.176 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/1.356, allocations: 1.125 kB / 1.373 GB, free: 1.176 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.356, allocations: 0 / 1.373 GB, free: 1.176 MB / 1.061 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.001122/1.357, allocations: 0.742 MB / 1.374 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.357, allocations: 11.78 kB / 1.374 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009988/1.358, allocations: 149.7 kB / 1.374 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/1.359, allocations: 398 kB / 1.374 GB, free: 204 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/1.359, allocations: 25.53 kB / 1.374 GB, free: 192 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/1.359, allocations: 32.22 kB / 1.374 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/1.36, allocations: 330.5 kB / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/1.36, allocations: 0 / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/1.36, allocations: 11.44 kB / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/1.36, allocations: 7.406 kB / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/1.36, allocations: 311.7 kB / 1.375 GB, free: 15.83 MB / 1.076 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.001779/1.362, allocations: 1.207 MB / 1.376 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/1.362, allocations: 291 kB / 1.376 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/1.363, allocations: 178.9 kB / 1.377 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/1.363, allocations: 194.7 kB / 1.377 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/1.363, allocations: 37.88 kB / 1.377 GB, free: 14.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/1.363, allocations: 1.125 kB / 1.377 GB, free: 14.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=35): time 0.002243/1.365, allocations: 1.035 MB / 1.378 GB, free: 13.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.365, allocations: 58.97 kB / 1.378 GB, free: 13.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/1.366, allocations: 312.3 kB / 1.378 GB, free: 13.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.366, allocations: 35.95 kB / 1.378 GB, free: 13.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.366, allocations: 173.7 kB / 1.378 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.366, allocations: 125.1 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/1.366, allocations: 60.58 kB / 1.379 GB, free: 13.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.366, allocations: 351.1 kB / 1.379 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/1.367, allocations: 113.4 kB / 1.379 GB, free: 12.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/1.367, allocations: 164.9 kB / 1.379 GB, free: 12.56 MB / 1.076 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.001992/1.369, allocations: 0.7607 MB / 1.38 GB, free: 12.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.369, allocations: 0.9062 kB / 1.38 GB, free: 12.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000789/1.37, allocations: 354 kB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/1.37, allocations: 9.719 kB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.37, allocations: 0.875 kB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/1.37, allocations: 2.312 kB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/1.37, allocations: 67.31 kB / 1.38 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.37, allocations: 2.25 kB / 1.38 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/1.37, allocations: 18.52 kB / 1.38 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/1.371, allocations: 7.812 kB / 1.38 GB, free: 11.92 MB / 1.076 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.0002379/1.371, allocations: 178.5 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/1.371, allocations: 42.12 kB / 1.381 GB, free: 11.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/1.371, allocations: 50.34 kB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.371, allocations: 11.97 kB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.371, allocations: 0 / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007068/1.372, allocations: 408.6 kB / 1.381 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.374, allocations: 1.076 MB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.374, allocations: 3.344 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/1.374, allocations: 75.09 kB / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.374, allocations: 5.906 kB / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.374, allocations: 22.55 kB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/1.374, allocations: 8.094 kB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.374, allocations: 12.28 kB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/1.375, allocations: 0.6801 MB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/1.375, allocations: 149.7 kB / 1.383 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/1.375, allocations: 10.81 kB / 1.383 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/1.376, allocations: 20.58 kB / 1.383 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/1.376, allocations: 29.81 kB / 1.383 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/1.376, allocations: 18.03 kB / 1.383 GB, free: 9.867 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002606/1.376, allocations: 232.6 kB / 1.383 GB, free: 9.715 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.376, allocations: 0 / 1.383 GB, free: 9.715 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005504/1.377, allocations: 113.4 kB / 1.383 GB, free: 9.699 MB / 1.076 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.000413/1.377, allocations: 181 kB / 1.384 GB, free: 9.566 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006319/1.378, allocations: 303.1 kB / 1.384 GB, free: 9.438 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.378, allocations: 1.125 kB / 1.384 GB, free: 9.438 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/1.378, allocations: 165.7 kB / 1.384 GB, free: 9.367 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.379, allocations: 225.8 kB / 1.384 GB, free: 9.258 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/1.381, allocations: 0.952 MB / 1.385 GB, free: 8.574 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/1.382, allocations: 0.825 MB / 1.386 GB, free: 7.816 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000342/1.382, allocations: 113.3 kB / 1.386 GB, free: 7.762 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/1.382, allocations: 37.31 kB / 1.386 GB, free: 7.75 MB / 1.076 GB Notification: Performance of SimCode: time 2.2e-07/1.382, allocations: 0 / 1.386 GB, free: 7.75 MB / 1.076 GB Notification: Performance of Templates: time 0.01514/1.397, allocations: 7.569 MB / 1.394 GB, free: 3.973 MB / 1.076 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