Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001129/0.001129, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.412/2.412, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.56 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2838, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6823/0.9661, allocations: 190.3 MB / 1.205 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008989/0.9751, allocations: 5.689 MB / 1.21 GB, free: 404 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.9767, allocations: 45.75 kB / 1.21 GB, free: 384 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.9783, allocations: 0.5678 MB / 1.211 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.9824, allocations: 1.606 MB / 1.212 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.9855, allocations: 1.202 MB / 1.214 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003177/0.9887, allocations: 2.513 MB / 1.216 GB, free: 12.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.99, allocations: 0.9864 MB / 1.217 GB, free: 11.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.9918, allocations: 1.037 MB / 1.218 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.9936, allocations: 0.8206 MB / 1.219 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.9937, allocations: 99.97 kB / 1.219 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.9965, allocations: 1.524 MB / 1.22 GB, free: 9.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000501/0.9971, allocations: 495.1 kB / 1.221 GB, free: 9.488 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007606/0.9978, allocations: 0.6201 MB / 1.221 GB, free: 9.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/1.001, allocations: 2.115 MB / 1.224 GB, free: 7.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.001, allocations: 0 / 1.224 GB, free: 7.305 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/1.001, allocations: 0 / 1.224 GB, free: 7.305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.801e-05/1.001, allocations: 0 / 1.224 GB, free: 7.305 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002689/1.004, allocations: 1.473 MB / 1.225 GB, free: 5.781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.004, allocations: 8.031 kB / 1.225 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/1.006, allocations: 334.3 kB / 1.225 GB, free: 5.445 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.007, allocations: 0.8117 MB / 1.226 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/1.007, allocations: 62 kB / 1.226 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.007, allocations: 84 kB / 1.226 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.009, allocations: 1.074 MB / 1.227 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/1.009, allocations: 0 / 1.227 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/1.009, allocations: 39.98 kB / 1.227 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/1.009, allocations: 34 kB / 1.227 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/1.011, allocations: 0.8314 MB / 1.228 GB, free: 2.426 MB / 0.92 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.0056/1.016, allocations: 4.251 MB / 1.232 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/1.017, allocations: 376.1 kB / 1.233 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/1.017, allocations: 219.4 kB / 1.233 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/1.018, allocations: 101.1 kB / 1.233 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.018, allocations: 51.09 kB / 1.233 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/1.018, allocations: 0 / 1.233 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38): time 0.002524/1.02, allocations: 1.336 MB / 1.234 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/1.02, allocations: 55.41 kB / 1.234 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.022, allocations: 0.9966 MB / 1.235 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/1.022, allocations: 37.7 kB / 1.235 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/1.022, allocations: 499.2 kB / 1.236 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.022, allocations: 145.9 kB / 1.236 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/1.022, allocations: 118.2 kB / 1.236 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.022, allocations: 330 kB / 1.236 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/1.023, allocations: 233.2 kB / 1.237 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/1.024, allocations: 427.8 kB / 1.237 GB, free: 8.812 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.026, allocations: 1.21 MB / 1.238 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.026, allocations: 4 kB / 1.238 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001399/1.027, allocations: 0.7701 MB / 1.239 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.027, allocations: 8 kB / 1.239 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.027, allocations: 8 kB / 1.239 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.027, allocations: 11.94 kB / 1.239 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/1.028, allocations: 144.1 kB / 1.239 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.028, allocations: 11.94 kB / 1.239 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/1.029, allocations: 63.84 kB / 1.239 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/1.029, allocations: 28 kB / 1.239 GB, free: 6.457 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004694/1.03, allocations: 313.5 kB / 1.24 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.03, allocations: 94.88 kB / 1.24 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/1.03, allocations: 101 kB / 1.24 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.03, allocations: 7.938 kB / 1.24 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.03, allocations: 0 / 1.24 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006648/1.031, allocations: 0.6752 MB / 1.24 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/1.033, allocations: 1.598 MB / 1.242 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.033, allocations: 4 kB / 1.242 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/1.033, allocations: 83.83 kB / 1.242 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/1.033, allocations: 8.5 kB / 1.242 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/1.033, allocations: 20 kB / 1.242 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.033, allocations: 4 kB / 1.242 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.033, allocations: 11.88 kB / 1.242 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.034, allocations: 0.8219 MB / 1.243 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.035, allocations: 243.8 kB / 1.243 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.035, allocations: 15.94 kB / 1.243 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/1.036, allocations: 35.97 kB / 1.243 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/1.036, allocations: 35.84 kB / 1.243 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/1.036, allocations: 27.98 kB / 1.243 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009716/1.037, allocations: 0.7038 MB / 1.244 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.037, allocations: 4 kB / 1.244 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000859/1.038, allocations: 256 kB / 1.244 GB, free: 1.113 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004879/1.038, allocations: 201.1 kB / 1.244 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009607/1.039, allocations: 0.5076 MB / 1.245 GB, free: 420 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.039, allocations: 0 / 1.245 GB, free: 420 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/1.039, allocations: 191.7 kB / 1.245 GB, free: 232 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.042, allocations: 0.6245 MB / 1.246 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/1.045, allocations: 1.841 MB / 1.247 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/1.045, allocations: 1.095 MB / 1.249 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007568/1.046, allocations: 244.3 kB / 1.249 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/1.046, allocations: 71.42 kB / 1.249 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/1.046, allocations: 8 kB / 1.249 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of Templates: time 0.03245/1.079, allocations: 19.73 MB / 1.268 GB, free: 8.809 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches