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.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.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.001493/0.001493, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.00211/0.00211, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.18 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.488/2.488, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 64.56 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3282, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8797/1.208, allocations: 187.3 MB / 1.202 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01541/1.223, allocations: 13.06 MB / 1.214 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/1.225, allocations: 34.66 kB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/1.226, allocations: 427.5 kB / 1.215 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/1.23, allocations: 1.159 MB / 1.216 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/1.232, allocations: 0.7087 MB / 1.217 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002424/1.234, allocations: 2.011 MB / 1.219 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009866/1.235, allocations: 0.8438 MB / 1.219 GB, free: 9.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/1.239, allocations: 1.816 MB / 1.221 GB, free: 8.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/1.24, allocations: 0.6601 MB / 1.222 GB, free: 8.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/1.24, allocations: 78.03 kB / 1.222 GB, free: 8.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/1.242, allocations: 0.8669 MB / 1.223 GB, free: 7.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/1.243, allocations: 387.1 kB / 1.223 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/1.243, allocations: 0.4963 MB / 1.224 GB, free: 6.992 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/1.246, allocations: 1.501 MB / 1.225 GB, free: 5.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.246, allocations: 8 kB / 1.225 GB, free: 5.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/1.246, allocations: 0 / 1.225 GB, free: 5.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.246, allocations: 0 / 1.225 GB, free: 5.699 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001826/1.247, allocations: 1.228 MB / 1.226 GB, free: 4.418 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.247, allocations: 16.92 kB / 1.226 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.249, allocations: 214.6 kB / 1.227 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.25, allocations: 0.6793 MB / 1.227 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/1.25, allocations: 58 kB / 1.227 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.25, allocations: 76 kB / 1.227 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/1.251, allocations: 0.9326 MB / 1.228 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.251, allocations: 4 kB / 1.228 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/1.251, allocations: 35.98 kB / 1.228 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/1.251, allocations: 37.23 kB / 1.228 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009068/1.252, allocations: 0.6216 MB / 1.229 GB, free: 1.625 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.004069/1.256, allocations: 4.578 MB / 1.233 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/1.257, allocations: 0.5401 MB / 1.234 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/1.257, allocations: 245.3 kB / 1.234 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/1.258, allocations: 105.1 kB / 1.234 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.258, allocations: 42.5 kB / 1.234 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 1.784e-06/1.258, allocations: 3.938 kB / 1.234 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.002665/1.26, allocations: 1.591 MB / 1.236 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.26, allocations: 106.8 kB / 1.236 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/1.261, allocations: 0.7155 MB / 1.237 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/1.261, allocations: 37.7 kB / 1.237 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/1.262, allocations: 411.8 kB / 1.237 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.262, allocations: 165.6 kB / 1.237 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.262, allocations: 122.3 kB / 1.237 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.262, allocations: 330 kB / 1.238 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/1.262, allocations: 185.2 kB / 1.238 GB, free: 8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/1.263, allocations: 424.9 kB / 1.238 GB, free: 7.488 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/1.265, allocations: 1.19 MB / 1.239 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.265, allocations: 4 kB / 1.239 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009513/1.266, allocations: 0.668 MB / 1.24 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.266, allocations: 14.44 kB / 1.24 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.266, allocations: 4 kB / 1.24 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/1.266, allocations: 12.09 kB / 1.24 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/1.266, allocations: 127.8 kB / 1.24 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/1.266, allocations: 15.94 kB / 1.24 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/1.267, allocations: 29.53 kB / 1.24 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/1.267, allocations: 24 kB / 1.24 GB, free: 5.297 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: 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.0003383/1.267, allocations: 273.8 kB / 1.241 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/1.268, allocations: 86.91 kB / 1.241 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/1.268, allocations: 95.66 kB / 1.241 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.268, allocations: 4 kB / 1.241 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.268, allocations: 3.938 kB / 1.241 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007305/1.268, allocations: 0.6911 MB / 1.241 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/1.271, allocations: 1.65 MB / 1.243 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.271, allocations: 4 kB / 1.243 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/1.271, allocations: 91.89 kB / 1.243 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.271, allocations: 7.938 kB / 1.243 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/1.271, allocations: 20.48 kB / 1.243 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.271, allocations: 11.94 kB / 1.243 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.271, allocations: 11.94 kB / 1.243 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.272, allocations: 0.8602 MB / 1.244 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/1.273, allocations: 208 kB / 1.244 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/1.273, allocations: 15.94 kB / 1.244 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/1.273, allocations: 20.64 kB / 1.244 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/1.273, allocations: 35.91 kB / 1.244 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/1.273, allocations: 23.98 kB / 1.244 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005973/1.274, allocations: 0.5146 MB / 1.245 GB, free: 412 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.654e-06/1.274, allocations: 0 / 1.245 GB, free: 412 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006952/1.275, allocations: 203.9 kB / 1.245 GB, free: 208 kB / 0.9356 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.0004623/1.275, allocations: 195.8 kB / 1.245 GB, free: 24 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007699/1.276, allocations: 487.9 kB / 1.246 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.276, allocations: 1.562 kB / 1.246 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/1.276, allocations: 216.5 kB / 1.246 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.278, allocations: 471.5 kB / 1.246 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/1.281, allocations: 1.656 MB / 1.248 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/1.281, allocations: 1.028 MB / 1.249 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005988/1.282, allocations: 203 kB / 1.249 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.282, allocations: 67.36 kB / 1.249 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/1.282, allocations: 4 kB / 1.249 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of Templates: time 0.02782/1.31, allocations: 15.02 MB / 1.264 GB, free: 13.04 MB / 0.9669 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches