Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001464/0.001464, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001749/0.00175, allocations: 194.6 kB / 16.25 MB, free: 6.637 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 472.7 MB / 0.7449 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.78 kB / 0.9116 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.9206/1.306, allocations: 187.9 MB / 1.251 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009968/1.316, allocations: 5.651 MB / 1.257 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/1.318, allocations: 36.97 kB / 1.257 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/1.32, allocations: 0.5029 MB / 1.257 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004802/1.325, allocations: 1.513 MB / 1.259 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/1.328, allocations: 1.1 MB / 1.26 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005257/1.334, allocations: 2.497 MB / 1.262 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/1.336, allocations: 0.9699 MB / 1.263 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/1.339, allocations: 1.023 MB / 1.264 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/1.342, allocations: 0.8751 MB / 1.265 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005756/1.343, allocations: 103.6 kB / 1.265 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/1.348, allocations: 1.599 MB / 1.267 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/1.35, allocations: 498.2 kB / 1.267 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/1.352, allocations: 0.6245 MB / 1.268 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004896/1.357, allocations: 2.185 MB / 1.27 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.357, allocations: 0.8438 kB / 1.27 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.394e-06/1.357, allocations: 0 / 1.27 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.072e-05/1.357, allocations: 0 / 1.27 GB, free: 5.297 MB / 0.9981 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.003284/1.36, allocations: 1.477 MB / 1.271 GB, free: 20.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.36, allocations: 11.06 kB / 1.271 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/1.363, allocations: 322.9 kB / 1.272 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.364, allocations: 0.7774 MB / 1.272 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004055/1.365, allocations: 119 kB / 1.273 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/1.365, allocations: 96.58 kB / 1.273 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/1.367, allocations: 1.067 MB / 1.274 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.367, allocations: 0.75 kB / 1.274 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-05/1.367, allocations: 38.66 kB / 1.274 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/1.367, allocations: 33.92 kB / 1.274 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/1.369, allocations: 0.8388 MB / 1.275 GB, free: 20.01 MB / 1.014 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.00689/1.376, allocations: 4.057 MB / 1.279 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/1.376, allocations: 363.2 kB / 1.279 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/1.377, allocations: 218 kB / 1.279 GB, free: 18.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.377, allocations: 98.41 kB / 1.279 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/1.377, allocations: 39.34 kB / 1.279 GB, free: 17.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/1.377, allocations: 0 / 1.279 GB, free: 17.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002847/1.38, allocations: 1.335 MB / 1.281 GB, free: 17.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/1.38, allocations: 57.52 kB / 1.281 GB, free: 17.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/1.381, allocations: 0.9895 MB / 1.282 GB, free: 17.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/1.382, allocations: 37.14 kB / 1.282 GB, free: 17.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/1.382, allocations: 497.1 kB / 1.282 GB, free: 16.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.382, allocations: 140.4 kB / 1.282 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/1.382, allocations: 120.7 kB / 1.282 GB, free: 16.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.382, allocations: 326.7 kB / 1.283 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/1.383, allocations: 237.6 kB / 1.283 GB, free: 16.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/1.383, allocations: 401.6 kB / 1.283 GB, free: 16.38 MB / 1.014 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.002685/1.386, allocations: 1.198 MB / 1.284 GB, free: 16.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.386, allocations: 1.094 kB / 1.284 GB, free: 16.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001628/1.388, allocations: 0.7589 MB / 1.285 GB, free: 16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.388, allocations: 9.344 kB / 1.285 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.388, allocations: 10.67 kB / 1.285 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.388, allocations: 8.938 kB / 1.285 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/1.388, allocations: 141.5 kB / 1.285 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.388, allocations: 8.062 kB / 1.285 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.39, allocations: 90.69 kB / 1.285 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/1.39, allocations: 30.09 kB / 1.285 GB, free: 15.99 MB / 1.014 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0005743/1.39, allocations: 316 kB / 1.286 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/1.39, allocations: 95.19 kB / 1.286 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/1.391, allocations: 108.1 kB / 1.286 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.391, allocations: 4.906 kB / 1.286 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.391, allocations: 0 / 1.286 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006702/1.391, allocations: 0.6756 MB / 1.287 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/1.394, allocations: 1.578 MB / 1.288 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.394, allocations: 7.375 kB / 1.288 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/1.394, allocations: 86.77 kB / 1.288 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.394, allocations: 7.469 kB / 1.288 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/1.394, allocations: 11.28 kB / 1.288 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.394, allocations: 7.203 kB / 1.288 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.394, allocations: 8.562 kB / 1.288 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/1.395, allocations: 0.8418 MB / 1.289 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/1.396, allocations: 235.3 kB / 1.289 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.396, allocations: 14.56 kB / 1.289 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/1.397, allocations: 55.2 kB / 1.289 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/1.397, allocations: 34.81 kB / 1.289 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/1.397, allocations: 29.02 kB / 1.289 GB, free: 14.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001223/1.398, allocations: 0.7053 MB / 1.29 GB, free: 14.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.398, allocations: 0 / 1.29 GB, free: 14.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00103/1.399, allocations: 261.9 kB / 1.29 GB, free: 14.34 MB / 1.014 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.0005257/1.4, allocations: 201.2 kB / 1.291 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.401, allocations: 0.5369 MB / 1.291 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.401, allocations: 1.438 kB / 1.291 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/1.401, allocations: 191 kB / 1.291 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.404, allocations: 0.6124 MB / 1.292 GB, free: 14.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/1.407, allocations: 2.173 MB / 1.294 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/1.408, allocations: 1.102 MB / 1.295 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001092/1.409, allocations: 243.4 kB / 1.295 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/1.409, allocations: 69.47 kB / 1.295 GB, free: 12.2 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/1.409, allocations: 3.938 kB / 1.295 GB, free: 12.19 MB / 1.014 GB Notification: Performance of Templates: time 0.03341/1.443, allocations: 19.62 MB / 1.315 GB, free: 10.82 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches