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.00651/0.00651, allocations: 102 kB / 15.73 MB, free: 6.02 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.001494/0.001494, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.502/2.502, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.8619, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1706/1.033, allocations: 160.1 MB / 1.323 GB, free: 3.074 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005048/1.038, allocations: 3.811 MB / 1.327 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/1.038, allocations: 15.94 kB / 1.327 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006318/1.039, allocations: 186.7 kB / 1.327 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/1.041, allocations: 0.8634 MB / 1.328 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/1.042, allocations: 440.2 kB / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001186/1.043, allocations: 1.018 MB / 1.329 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/1.043, allocations: 288.4 kB / 1.329 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/1.044, allocations: 430.4 kB / 1.33 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008766/1.045, allocations: 321.1 kB / 1.33 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/1.045, allocations: 35.94 kB / 1.33 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/1.046, allocations: 0.7092 MB / 1.331 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/1.046, allocations: 155.6 kB / 1.331 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/1.047, allocations: 222.9 kB / 1.331 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/1.048, allocations: 0.7475 MB / 1.332 GB, free: 9.863 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.048, allocations: 0 / 1.332 GB, free: 9.863 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/1.048, allocations: 4 kB / 1.332 GB, free: 9.859 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.048, allocations: 0 / 1.332 GB, free: 9.859 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.001292/1.049, allocations: 0.7512 MB / 1.333 GB, free: 9.059 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.049, allocations: 8.922 kB / 1.333 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.05, allocations: 151.6 kB / 1.333 GB, free: 8.902 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/1.051, allocations: 406.6 kB / 1.333 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.051, allocations: 32.59 kB / 1.333 GB, free: 8.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/1.051, allocations: 28 kB / 1.333 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/1.051, allocations: 326 kB / 1.334 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.051, allocations: 0 / 1.334 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/1.052, allocations: 16 kB / 1.334 GB, free: 8.066 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/1.052, allocations: 4 kB / 1.334 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/1.052, allocations: 314.4 kB / 1.334 GB, free: 7.75 MB / 1.061 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.001777/1.054, allocations: 1.205 MB / 1.335 GB, free: 6.438 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/1.054, allocations: 287.9 kB / 1.335 GB, free: 6.148 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/1.055, allocations: 181.3 kB / 1.336 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/1.055, allocations: 202.4 kB / 1.336 GB, free: 5.734 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.055, allocations: 38.84 kB / 1.336 GB, free: 5.688 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/1.055, allocations: 0 / 1.336 GB, free: 5.688 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.002139/1.057, allocations: 1.036 MB / 1.337 GB, free: 4.602 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.057, allocations: 55.41 kB / 1.337 GB, free: 4.535 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/1.058, allocations: 312.5 kB / 1.337 GB, free: 4.219 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/1.058, allocations: 37.7 kB / 1.337 GB, free: 4.176 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/1.058, allocations: 176.8 kB / 1.337 GB, free: 4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.058, allocations: 126.9 kB / 1.337 GB, free: 3.875 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.058, allocations: 65.7 kB / 1.338 GB, free: 3.805 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.058, allocations: 346.8 kB / 1.338 GB, free: 3.457 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.058, allocations: 115.9 kB / 1.338 GB, free: 3.344 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/1.059, allocations: 170.5 kB / 1.338 GB, free: 3.168 MB / 1.061 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.001716/1.06, allocations: 0.7599 MB / 1.339 GB, free: 2.383 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/1.06, allocations: 0 / 1.339 GB, free: 2.383 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005651/1.061, allocations: 361 kB / 1.339 GB, free: 2.023 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.061, allocations: 11.94 kB / 1.339 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.061, allocations: 3.984 kB / 1.339 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.061, allocations: 3.938 kB / 1.339 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/1.061, allocations: 63.91 kB / 1.339 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.061, allocations: 4 kB / 1.339 GB, free: 1.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/1.062, allocations: 15.98 kB / 1.339 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/1.062, allocations: 8 kB / 1.339 GB, free: 1.914 MB / 1.061 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.000197/1.062, allocations: 177.8 kB / 1.34 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/1.062, allocations: 39.77 kB / 1.34 GB, free: 1.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/1.062, allocations: 52.05 kB / 1.34 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.062, allocations: 7.938 kB / 1.34 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.062, allocations: 3.938 kB / 1.34 GB, free: 1.629 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005528/1.063, allocations: 408.2 kB / 1.34 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/1.064, allocations: 1.071 MB / 1.341 GB, free: 28 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.064, allocations: 4 kB / 1.341 GB, free: 24 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/1.065, allocations: 83.89 kB / 1.341 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.065, allocations: 4.469 kB / 1.341 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/1.065, allocations: 16 kB / 1.341 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/1.065, allocations: 15.86 kB / 1.341 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.065, allocations: 4 kB / 1.341 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.066, allocations: 0.6804 MB / 1.342 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/1.066, allocations: 144.8 kB / 1.342 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/1.066, allocations: 19.92 kB / 1.342 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/1.067, allocations: 14.64 kB / 1.342 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/1.067, allocations: 35.97 kB / 1.342 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/1.067, allocations: 23.92 kB / 1.342 GB, free: 14.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002363/1.067, allocations: 227 kB / 1.342 GB, free: 14.69 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.3e-07/1.067, allocations: 0 / 1.342 GB, free: 14.69 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005236/1.067, allocations: 115.9 kB / 1.342 GB, free: 14.58 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.0004818/1.068, allocations: 169.3 kB / 1.343 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006475/1.069, allocations: 307.5 kB / 1.343 GB, free: 14.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.069, allocations: 4 kB / 1.343 GB, free: 14.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/1.069, allocations: 167.6 kB / 1.343 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.07, allocations: 223.9 kB / 1.343 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/1.072, allocations: 0.9759 MB / 1.344 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/1.072, allocations: 0.8312 MB / 1.345 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003399/1.072, allocations: 103.2 kB / 1.345 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/1.073, allocations: 31.44 kB / 1.345 GB, free: 11.7 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.073, allocations: 0 / 1.345 GB, free: 11.7 MB / 1.076 GB Notification: Performance of Templates: time 0.01288/1.085, allocations: 7.444 MB / 1.352 GB, free: 4.379 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches