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.001286/0.001286, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00143/0.00143, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.739/2.739, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6501, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.196/0.8461, allocations: 184.8 MB / 1.197 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.8626, allocations: 12.97 MB / 1.21 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.8641, allocations: 27.81 kB / 1.21 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.8659, allocations: 366 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.8697, allocations: 1.081 MB / 1.211 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.8717, allocations: 0.6367 MB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.8746, allocations: 2.012 MB / 1.214 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.8758, allocations: 0.8238 MB / 1.215 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.8804, allocations: 1.775 MB / 1.217 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.8824, allocations: 0.7003 MB / 1.217 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.8826, allocations: 80 kB / 1.217 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.8847, allocations: 0.9157 MB / 1.218 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005279/0.8853, allocations: 395 kB / 1.219 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006696/0.8859, allocations: 0.4976 MB / 1.219 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.8885, allocations: 1.527 MB / 1.221 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8885, allocations: 0 / 1.221 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8886, allocations: 0 / 1.221 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.8886, allocations: 0 / 1.221 GB, free: 1.477 MB / 0.9669 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.001862/0.8904, allocations: 1.235 MB / 1.222 GB, free: 192 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.8905, allocations: 19.95 kB / 1.222 GB, free: 172 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.8918, allocations: 206.6 kB / 1.222 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.8928, allocations: 0.6442 MB / 1.223 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.8929, allocations: 54 kB / 1.223 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.893, allocations: 83.98 kB / 1.223 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.8946, allocations: 0.9365 MB / 1.224 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.8946, allocations: 3.938 kB / 1.224 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.8947, allocations: 31.94 kB / 1.224 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.8947, allocations: 37.3 kB / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.8958, allocations: 0.6099 MB / 1.224 GB, free: 13.45 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.005848/0.9017, allocations: 4.591 MB / 1.229 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.9027, allocations: 0.544 MB / 1.229 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.9032, allocations: 246.4 kB / 1.23 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.9034, allocations: 101.1 kB / 1.23 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.9035, allocations: 42.56 kB / 1.23 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.9035, allocations: 0 / 1.23 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002994/0.9065, allocations: 1.589 MB / 1.231 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.9066, allocations: 115.1 kB / 1.231 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.9074, allocations: 0.7154 MB / 1.232 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.9075, allocations: 33.7 kB / 1.232 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.9078, allocations: 419.8 kB / 1.232 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.908, allocations: 165.6 kB / 1.233 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.9082, allocations: 118.2 kB / 1.233 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9083, allocations: 326 kB / 1.233 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.9086, allocations: 189.2 kB / 1.233 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.9091, allocations: 421.1 kB / 1.234 GB, free: 3.293 MB / 0.9825 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.002329/0.9115, allocations: 1.187 MB / 1.235 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9115, allocations: 4 kB / 1.235 GB, free: 2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001069/0.9126, allocations: 0.6682 MB / 1.235 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.9126, allocations: 11.94 kB / 1.235 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9126, allocations: 8.031 kB / 1.235 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.9127, allocations: 12.09 kB / 1.235 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.9131, allocations: 127.8 kB / 1.236 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.9131, allocations: 15.98 kB / 1.236 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.9138, allocations: 56.61 kB / 1.236 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.9138, allocations: 28 kB / 1.236 GB, free: 1.07 MB / 0.9825 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.0004052/0.9143, allocations: 275 kB / 1.236 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.9144, allocations: 87 kB / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.9146, allocations: 87.66 kB / 1.236 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.9146, allocations: 11.94 kB / 1.236 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.9146, allocations: 0 / 1.236 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007423/0.9154, allocations: 0.6989 MB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.9178, allocations: 1.638 MB / 1.238 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.9178, allocations: 4.5 kB / 1.238 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.9183, allocations: 103.8 kB / 1.239 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.9183, allocations: 11.94 kB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.9183, allocations: 15.98 kB / 1.239 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.9184, allocations: 4 kB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.9184, allocations: 11.94 kB / 1.239 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.9195, allocations: 0.8647 MB / 1.239 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.9198, allocations: 208.1 kB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.9199, allocations: 16 kB / 1.24 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.9204, allocations: 39.81 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.9205, allocations: 43.84 kB / 1.24 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.9205, allocations: 15.98 kB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000626/0.9211, allocations: 0.5146 MB / 1.24 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9212, allocations: 0 / 1.24 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007733/0.9219, allocations: 200 kB / 1.24 GB, free: 11.95 MB / 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.0005066/0.9224, allocations: 201.2 kB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008859/0.9233, allocations: 0.5196 MB / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9234, allocations: 4 kB / 1.241 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.9237, allocations: 206.4 kB / 1.241 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.9257, allocations: 475.2 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.9284, allocations: 1.957 MB / 1.244 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.9291, allocations: 1.032 MB / 1.245 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006855/0.9297, allocations: 195 kB / 1.245 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.9299, allocations: 63.42 kB / 1.245 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.9299, allocations: 0 / 1.245 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.5318/1.462, allocations: 14.97 MB / 1.26 GB, free: 233 MB / 0.9981 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