Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 104 kB / 16.27 MB, free: 5.98 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.001062/0.001063, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.532/2.532, allocations: 469.4 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.23 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3101, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7518/1.062, allocations: 187.3 MB / 1.247 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01836/1.08, allocations: 13.07 MB / 1.26 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/1.082, allocations: 31.81 kB / 1.26 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/1.084, allocations: 417.2 kB / 1.26 GB, free: 232 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/1.088, allocations: 1.167 MB / 1.261 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/1.091, allocations: 0.6991 MB / 1.262 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003172/1.094, allocations: 2.008 MB / 1.264 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/1.096, allocations: 0.8488 MB / 1.265 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004714/1.1, allocations: 1.806 MB / 1.267 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/1.103, allocations: 0.6748 MB / 1.267 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003566/1.103, allocations: 80 kB / 1.267 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/1.105, allocations: 0.8653 MB / 1.268 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000671/1.106, allocations: 387 kB / 1.269 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/1.107, allocations: 0.4976 MB / 1.269 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/1.11, allocations: 1.468 MB / 1.271 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.11, allocations: 0 / 1.271 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/1.11, allocations: 0 / 1.271 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.634e-05/1.11, allocations: 0 / 1.271 GB, free: 5.703 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002853/1.113, allocations: 1.243 MB / 1.272 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/1.113, allocations: 8.625 kB / 1.272 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.115, allocations: 222.6 kB / 1.272 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.116, allocations: 0.6364 MB / 1.273 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/1.116, allocations: 58 kB / 1.273 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/1.116, allocations: 80 kB / 1.273 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/1.118, allocations: 0.9288 MB / 1.274 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.118, allocations: 7.844 kB / 1.274 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/1.118, allocations: 32 kB / 1.274 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/1.118, allocations: 36.5 kB / 1.274 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/1.119, allocations: 0.6177 MB / 1.274 GB, free: 1.664 MB / 0.9825 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.004758/1.124, allocations: 4.601 MB / 1.279 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/1.125, allocations: 0.5478 MB / 1.279 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/1.125, allocations: 246.5 kB / 1.28 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/1.125, allocations: 97.09 kB / 1.28 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.125, allocations: 42.56 kB / 1.28 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 3.075e-06/1.125, allocations: 0 / 1.28 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002992/1.128, allocations: 1.586 MB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/1.128, allocations: 114.8 kB / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/1.129, allocations: 0.7157 MB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/1.129, allocations: 37.7 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/1.129, allocations: 419.8 kB / 1.283 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/1.13, allocations: 161.6 kB / 1.283 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/1.13, allocations: 118.2 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.13, allocations: 326 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/1.13, allocations: 189.2 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/1.131, allocations: 420.9 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/1.133, allocations: 1.185 MB / 1.285 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.133, allocations: 4 kB / 1.285 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001041/1.134, allocations: 0.656 MB / 1.285 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.134, allocations: 11.94 kB / 1.285 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.134, allocations: 12.72 kB / 1.285 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/1.134, allocations: 8 kB / 1.285 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/1.135, allocations: 139.8 kB / 1.286 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/1.135, allocations: 8 kB / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/1.135, allocations: 27.89 kB / 1.286 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/1.135, allocations: 28 kB / 1.286 GB, free: 5.316 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0004087/1.136, allocations: 279.4 kB / 1.286 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.136, allocations: 90.94 kB / 1.286 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/1.136, allocations: 87.66 kB / 1.286 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.136, allocations: 12 kB / 1.286 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.136, allocations: 0 / 1.286 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007347/1.137, allocations: 0.695 MB / 1.287 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.139, allocations: 1.644 MB / 1.288 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.139, allocations: 4.875 kB / 1.288 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/1.14, allocations: 103.8 kB / 1.289 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.14, allocations: 7.938 kB / 1.289 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/1.14, allocations: 15.98 kB / 1.289 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.14, allocations: 8 kB / 1.289 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.14, allocations: 7.938 kB / 1.289 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.141, allocations: 0.858 MB / 1.289 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/1.141, allocations: 208.1 kB / 1.29 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.141, allocations: 19.94 kB / 1.29 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/1.142, allocations: 19.98 kB / 1.29 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/1.142, allocations: 39.84 kB / 1.29 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/1.142, allocations: 19.98 kB / 1.29 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006328/1.143, allocations: 0.5068 MB / 1.29 GB, free: 428 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.143, allocations: 0 / 1.29 GB, free: 428 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007564/1.143, allocations: 204 kB / 1.29 GB, free: 224 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004683/1.144, allocations: 207.9 kB / 1.291 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009021/1.145, allocations: 0.5122 MB / 1.291 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.145, allocations: 0 / 1.291 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/1.145, allocations: 211.7 kB / 1.291 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/1.147, allocations: 488 kB / 1.292 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/1.15, allocations: 1.728 MB / 1.293 GB, free: 13.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/1.151, allocations: 1.024 MB / 1.294 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/1.151, allocations: 71.42 kB / 1.295 GB, free: 11.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.893e-06/1.151, allocations: 4 kB / 1.295 GB, free: 11.91 MB / 1.014 GB Notification: Performance of Templates: time 0.02062/1.171, allocations: 12.9 MB / 1.307 GB, free: 15.14 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches