Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001604/0.001605, allocations: 100.3 kB / 16.35 MB, free: 5.824 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.00173/0.00173, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 72.2 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9693/1.282, allocations: 187.3 MB / 1.134 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02014/1.302, allocations: 13.06 MB / 1.147 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/1.305, allocations: 33.12 kB / 1.147 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/1.307, allocations: 424.6 kB / 1.147 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004402/1.311, allocations: 1.156 MB / 1.148 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/1.314, allocations: 0.6984 MB / 1.149 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00413/1.318, allocations: 2.02 MB / 1.151 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/1.319, allocations: 0.8445 MB / 1.152 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/1.325, allocations: 1.81 MB / 1.154 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/1.327, allocations: 0.6662 MB / 1.154 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/1.328, allocations: 83.84 kB / 1.154 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/1.331, allocations: 0.8667 MB / 1.155 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/1.332, allocations: 396.1 kB / 1.156 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/1.333, allocations: 0.4981 MB / 1.156 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003673/1.336, allocations: 1.493 MB / 1.157 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/1.336, allocations: 4 kB / 1.157 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/1.336, allocations: 0 / 1.157 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.336, allocations: 2.578 kB / 1.157 GB, free: 1.734 MB / 0.8575 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.00239/1.339, allocations: 1.223 MB / 1.159 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.339, allocations: 9.562 kB / 1.159 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/1.34, allocations: 217.8 kB / 1.159 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/1.342, allocations: 0.6802 MB / 1.16 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/1.342, allocations: 56.94 kB / 1.16 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.342, allocations: 75.69 kB / 1.16 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/1.343, allocations: 0.9357 MB / 1.161 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/1.343, allocations: 1.156 kB / 1.161 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/1.343, allocations: 33.97 kB / 1.161 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/1.343, allocations: 35.06 kB / 1.161 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/1.345, allocations: 0.6205 MB / 1.161 GB, free: 15.59 MB / 0.8731 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.00564/1.35, allocations: 4.577 MB / 1.166 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009526/1.351, allocations: 0.5412 MB / 1.166 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/1.352, allocations: 246.9 kB / 1.167 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/1.352, allocations: 108.7 kB / 1.167 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.352, allocations: 44.5 kB / 1.167 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/1.352, allocations: 7.984 kB / 1.167 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.003455/1.355, allocations: 1.581 MB / 1.168 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.355, allocations: 109 kB / 1.168 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.356, allocations: 0.7127 MB / 1.169 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/1.357, allocations: 37.58 kB / 1.169 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/1.357, allocations: 414.6 kB / 1.169 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/1.357, allocations: 166.5 kB / 1.17 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.357, allocations: 118.9 kB / 1.17 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.357, allocations: 327.8 kB / 1.17 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/1.358, allocations: 189.1 kB / 1.17 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/1.358, allocations: 416.4 kB / 1.171 GB, free: 8.645 MB / 0.8731 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.002505/1.361, allocations: 1.174 MB / 1.172 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.361, allocations: 2.5 kB / 1.172 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001243/1.362, allocations: 0.666 MB / 1.172 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/1.362, allocations: 11.5 kB / 1.172 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.362, allocations: 6.844 kB / 1.172 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/1.362, allocations: 9.344 kB / 1.172 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/1.363, allocations: 124.5 kB / 1.173 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/1.363, allocations: 20.72 kB / 1.173 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/1.363, allocations: 33.58 kB / 1.173 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/1.364, allocations: 34.91 kB / 1.173 GB, free: 7.645 MB / 0.8731 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.0005116/1.364, allocations: 271.5 kB / 1.173 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/1.364, allocations: 89.12 kB / 1.173 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.365, allocations: 90.12 kB / 1.173 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.365, allocations: 8.016 kB / 1.173 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.365, allocations: 0 / 1.173 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008554/1.365, allocations: 0.6951 MB / 1.174 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/1.368, allocations: 1.644 MB / 1.175 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.368, allocations: 2.5 kB / 1.175 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/1.369, allocations: 99.17 kB / 1.175 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/1.369, allocations: 9.844 kB / 1.175 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/1.369, allocations: 19.41 kB / 1.175 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.369, allocations: 9.141 kB / 1.175 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.369, allocations: 4.312 kB / 1.175 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.37, allocations: 0.8658 MB / 1.176 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/1.37, allocations: 208.8 kB / 1.177 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.371, allocations: 16.19 kB / 1.177 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/1.371, allocations: 19.58 kB / 1.177 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/1.371, allocations: 39.97 kB / 1.177 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/1.371, allocations: 23.16 kB / 1.177 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00074/1.372, allocations: 0.5107 MB / 1.177 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.372, allocations: 0 / 1.177 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009053/1.373, allocations: 201.3 kB / 1.177 GB, free: 4.816 MB / 0.8731 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.0005185/1.373, allocations: 205.6 kB / 1.178 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008647/1.374, allocations: 485.1 kB / 1.178 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.374, allocations: 0 / 1.178 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/1.374, allocations: 219.6 kB / 1.178 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.377, allocations: 468.1 kB / 1.179 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/1.379, allocations: 1.663 MB / 1.18 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/1.38, allocations: 1.028 MB / 1.181 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007639/1.381, allocations: 207.2 kB / 1.181 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/1.381, allocations: 60.61 kB / 1.182 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of SimCode: time 1.453e-06/1.381, allocations: 0 / 1.182 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of Templates: time 0.02883/1.41, allocations: 15.05 MB / 1.196 GB, free: 11.61 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches