Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_10_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_10_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.007134/0.007134, allocations: 99.75 kB / 15.73 MB, free: 6.441 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.0017/0.0017, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.58/2.58, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 151.6 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 1.005/1.345, allocations: 187.3 MB / 1.35 GB, free: 5.023 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01652/1.362, allocations: 13.06 MB / 1.362 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.363, allocations: 37.03 kB / 1.362 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/1.365, allocations: 434.8 kB / 1.363 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/1.368, allocations: 1.2 MB / 1.364 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/1.37, allocations: 0.7037 MB / 1.365 GB, free: 10.35 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002606/1.372, allocations: 2.022 MB / 1.367 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/1.373, allocations: 0.845 MB / 1.367 GB, free: 9.062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/1.378, allocations: 1.884 MB / 1.369 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/1.379, allocations: 0.6676 MB / 1.37 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/1.379, allocations: 78.97 kB / 1.37 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/1.381, allocations: 0.8787 MB / 1.371 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004289/1.382, allocations: 392 kB / 1.371 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005431/1.382, allocations: 0.496 MB / 1.372 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/1.384, allocations: 1.499 MB / 1.373 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.384, allocations: 0 / 1.373 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/1.384, allocations: 0 / 1.373 GB, free: 5.742 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.384, allocations: 1.969 kB / 1.373 GB, free: 5.742 MB / 1.045 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.001763/1.386, allocations: 1.258 MB / 1.374 GB, free: 4.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/1.386, allocations: 10.88 kB / 1.374 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.387, allocations: 220.1 kB / 1.375 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/1.388, allocations: 0.6907 MB / 1.375 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/1.388, allocations: 58.12 kB / 1.375 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.388, allocations: 75.91 kB / 1.375 GB, free: 4.047 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/1.39, allocations: 0.9256 MB / 1.376 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.39, allocations: 9.297 kB / 1.376 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/1.39, allocations: 33.62 kB / 1.376 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/1.39, allocations: 31.38 kB / 1.376 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.391, allocations: 0.6238 MB / 1.377 GB, free: 3.043 MB / 1.045 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.004324/1.395, allocations: 4.578 MB / 1.381 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/1.396, allocations: 0.5485 MB / 1.382 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/1.396, allocations: 247.9 kB / 1.382 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/1.397, allocations: 104.2 kB / 1.382 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.397, allocations: 43.42 kB / 1.382 GB, free: 14.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/1.397, allocations: 0 / 1.382 GB, free: 14.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.002467/1.399, allocations: 1.619 MB / 1.384 GB, free: 13.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/1.399, allocations: 113.9 kB / 1.384 GB, free: 12.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/1.4, allocations: 0.714 MB / 1.385 GB, free: 12.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/1.4, allocations: 36.2 kB / 1.385 GB, free: 12.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/1.4, allocations: 426.5 kB / 1.385 GB, free: 12.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/1.401, allocations: 165.2 kB / 1.385 GB, free: 12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/1.401, allocations: 125.1 kB / 1.385 GB, free: 11.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.401, allocations: 326.8 kB / 1.386 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/1.401, allocations: 192.6 kB / 1.386 GB, free: 11.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/1.402, allocations: 419.7 kB / 1.386 GB, free: 11.13 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/1.404, allocations: 1.178 MB / 1.388 GB, free: 10.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.404, allocations: 2.156 kB / 1.388 GB, free: 10.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009466/1.405, allocations: 0.6756 MB / 1.388 GB, free: 9.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.405, allocations: 17.38 kB / 1.388 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.405, allocations: 8.359 kB / 1.388 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.405, allocations: 7.812 kB / 1.388 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/1.405, allocations: 132.6 kB / 1.388 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.405, allocations: 7.406 kB / 1.388 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/1.406, allocations: 36.7 kB / 1.388 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/1.406, allocations: 26.97 kB / 1.388 GB, free: 9.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: 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.0003306/1.406, allocations: 273.4 kB / 1.389 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/1.406, allocations: 88.23 kB / 1.389 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/1.406, allocations: 92.81 kB / 1.389 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.406, allocations: 5.344 kB / 1.389 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.406, allocations: 2.469 kB / 1.389 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006692/1.407, allocations: 0.693 MB / 1.39 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/1.409, allocations: 1.65 MB / 1.391 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.409, allocations: 5.281 kB / 1.391 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/1.41, allocations: 95.3 kB / 1.391 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.41, allocations: 13.53 kB / 1.391 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/1.41, allocations: 19 kB / 1.391 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/1.41, allocations: 8.797 kB / 1.391 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.41, allocations: 8.5 kB / 1.391 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/1.411, allocations: 0.8648 MB / 1.392 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/1.411, allocations: 209.5 kB / 1.392 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/1.411, allocations: 22.03 kB / 1.392 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/1.412, allocations: 16.58 kB / 1.392 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/1.412, allocations: 43.44 kB / 1.392 GB, free: 6.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/1.412, allocations: 22.92 kB / 1.392 GB, free: 6.859 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005487/1.412, allocations: 0.5081 MB / 1.393 GB, free: 6.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.412, allocations: 0 / 1.393 GB, free: 6.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006747/1.413, allocations: 203.1 kB / 1.393 GB, free: 6.551 MB / 1.061 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.0004278/1.413, allocations: 207.3 kB / 1.393 GB, free: 6.406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007231/1.414, allocations: 475.9 kB / 1.394 GB, free: 6.199 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.414, allocations: 3 kB / 1.394 GB, free: 6.199 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/1.414, allocations: 213.2 kB / 1.394 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.416, allocations: 478.4 kB / 1.394 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/1.419, allocations: 1.683 MB / 1.396 GB, free: 4.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/1.419, allocations: 1.029 MB / 1.397 GB, free: 3.852 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005219/1.42, allocations: 204.6 kB / 1.397 GB, free: 3.758 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.42, allocations: 60.06 kB / 1.397 GB, free: 3.75 MB / 1.061 GB Notification: Performance of SimCode: time 2.5e-07/1.42, allocations: 0 / 1.397 GB, free: 3.75 MB / 1.061 GB Notification: Performance of Templates: time 0.02408/1.444, allocations: 15.2 MB / 1.412 GB, free: 8.176 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches