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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001374/0.001374, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001419/0.001419, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.2 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.69 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8188/1.092, allocations: 187.3 MB / 1.133 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01993/1.112, allocations: 13.06 MB / 1.146 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/1.115, allocations: 33.5 kB / 1.146 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/1.117, allocations: 425.6 kB / 1.146 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005159/1.122, allocations: 1.158 MB / 1.147 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/1.125, allocations: 0.6969 MB / 1.148 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004374/1.129, allocations: 2.018 MB / 1.15 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/1.131, allocations: 0.8368 MB / 1.151 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/1.137, allocations: 1.804 MB / 1.153 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/1.139, allocations: 0.669 MB / 1.153 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002856/1.14, allocations: 80.06 kB / 1.153 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/1.142, allocations: 0.8646 MB / 1.154 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005248/1.143, allocations: 386.9 kB / 1.155 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008521/1.144, allocations: 0.4961 MB / 1.155 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/1.147, allocations: 1.48 MB / 1.157 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.147, allocations: 0 / 1.157 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.705e-06/1.147, allocations: 0 / 1.157 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.033e-05/1.147, allocations: 0 / 1.157 GB, free: 2.051 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.002691/1.15, allocations: 1.233 MB / 1.158 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.15, allocations: 9.531 kB / 1.158 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/1.151, allocations: 215.8 kB / 1.158 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.153, allocations: 0.6444 MB / 1.159 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/1.153, allocations: 60.16 kB / 1.159 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.153, allocations: 75.47 kB / 1.159 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/1.154, allocations: 0.9371 MB / 1.16 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/1.154, allocations: 7.516 kB / 1.16 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/1.155, allocations: 33.06 kB / 1.16 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/1.155, allocations: 31.75 kB / 1.16 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.156, allocations: 0.6209 MB / 1.16 GB, free: 15.9 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.005504/1.161, allocations: 4.603 MB / 1.165 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/1.162, allocations: 0.5376 MB / 1.165 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/1.163, allocations: 245.9 kB / 1.166 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.163, allocations: 97.81 kB / 1.166 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.163, allocations: 41.91 kB / 1.166 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/1.163, allocations: 1.375 kB / 1.166 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.003551/1.166, allocations: 1.588 MB / 1.167 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/1.167, allocations: 112 kB / 1.167 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.168, allocations: 0.718 MB / 1.168 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/1.168, allocations: 36.73 kB / 1.168 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/1.168, allocations: 412.3 kB / 1.169 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/1.168, allocations: 167.4 kB / 1.169 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.168, allocations: 114.3 kB / 1.169 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.169, allocations: 331.5 kB / 1.169 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/1.169, allocations: 183.6 kB / 1.169 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/1.17, allocations: 423.9 kB / 1.17 GB, free: 8.949 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.002616/1.172, allocations: 1.178 MB / 1.171 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.172, allocations: 2.156 kB / 1.171 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001432/1.174, allocations: 0.6671 MB / 1.172 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.174, allocations: 14.19 kB / 1.172 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.174, allocations: 9.875 kB / 1.172 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.174, allocations: 18.95 kB / 1.172 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/1.174, allocations: 130.1 kB / 1.172 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/1.174, allocations: 13.23 kB / 1.172 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/1.175, allocations: 27.33 kB / 1.172 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/1.175, allocations: 32.62 kB / 1.172 GB, free: 7.934 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.0005676/1.176, allocations: 271.5 kB / 1.172 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.176, allocations: 86.53 kB / 1.172 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/1.176, allocations: 88.09 kB / 1.172 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.176, allocations: 10 kB / 1.172 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.176, allocations: 2.719 kB / 1.172 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008664/1.177, allocations: 0.7004 MB / 1.173 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/1.18, allocations: 1.636 MB / 1.174 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.18, allocations: 3.594 kB / 1.174 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/1.181, allocations: 100.7 kB / 1.175 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/1.181, allocations: 9 kB / 1.175 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/1.181, allocations: 19.33 kB / 1.175 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/1.181, allocations: 5.062 kB / 1.175 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.181, allocations: 9.984 kB / 1.175 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.182, allocations: 0.861 MB / 1.175 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/1.182, allocations: 208.6 kB / 1.176 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.183, allocations: 17.03 kB / 1.176 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/1.183, allocations: 23.06 kB / 1.176 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/1.183, allocations: 37.06 kB / 1.176 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/1.183, allocations: 21.11 kB / 1.176 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007791/1.184, allocations: 0.5087 MB / 1.176 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/1.184, allocations: 0 / 1.176 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009971/1.185, allocations: 207.2 kB / 1.176 GB, free: 5.109 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.000661/1.186, allocations: 212.9 kB / 1.177 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.187, allocations: 0.5186 MB / 1.177 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/1.187, allocations: 7.25 kB / 1.177 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/1.187, allocations: 211.6 kB / 1.177 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/1.189, allocations: 471.3 kB / 1.178 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/1.193, allocations: 1.731 MB / 1.179 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/1.193, allocations: 1.032 MB / 1.18 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/1.194, allocations: 64.95 kB / 1.181 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of SimCode: time 1.333e-06/1.194, allocations: 0 / 1.181 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of Templates: time 0.02588/1.22, allocations: 12.89 MB / 1.193 GB, free: 12.75 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 -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