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.001202/0.001202, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001289, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.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.617/2.617, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6502, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2003/0.8505, allocations: 185.1 MB / 1.198 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.8677, allocations: 13.11 MB / 1.211 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.8693, allocations: 35.81 kB / 1.211 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.871, allocations: 346 kB / 1.211 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.8746, allocations: 1.097 MB / 1.212 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.8767, allocations: 0.6242 MB / 1.213 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.8802, allocations: 2.766 MB / 1.216 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.8817, allocations: 0.7386 MB / 1.216 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.8861, allocations: 1.654 MB / 1.218 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.8881, allocations: 0.6965 MB / 1.219 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.8884, allocations: 44 kB / 1.219 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.8907, allocations: 0.978 MB / 1.22 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005325/0.8912, allocations: 351 kB / 1.22 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009185/0.8921, allocations: 477.6 kB / 1.22 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.8938, allocations: 1.103 MB / 1.221 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8938, allocations: 0 / 1.221 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8938, allocations: 0 / 1.221 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.659e-05/0.8939, allocations: 0 / 1.221 GB, free: 0.9648 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.002527/0.8964, allocations: 1.235 MB / 1.223 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8964, allocations: 8.031 kB / 1.223 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.8978, allocations: 222.6 kB / 1.223 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.899, allocations: 0.6403 MB / 1.223 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.8991, allocations: 58 kB / 1.224 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.8992, allocations: 76 kB / 1.224 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.9007, allocations: 0.9326 MB / 1.225 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.9007, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.9008, allocations: 43.88 kB / 1.225 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.9009, allocations: 25.31 kB / 1.225 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.9019, allocations: 0.6216 MB / 1.225 GB, free: 12.93 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.004789/0.9067, allocations: 4.589 MB / 1.23 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.9076, allocations: 0.5534 MB / 1.23 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.908, allocations: 242.5 kB / 1.23 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.9082, allocations: 101.1 kB / 1.231 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.9082, allocations: 46.5 kB / 1.231 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/0.9082, allocations: 0 / 1.231 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.003186/0.9114, allocations: 1.589 MB / 1.232 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.9115, allocations: 107.1 kB / 1.232 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.9127, allocations: 0.7194 MB / 1.233 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.9128, allocations: 37.7 kB / 1.233 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.9132, allocations: 411.8 kB / 1.233 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.9134, allocations: 165.6 kB / 1.234 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.9136, allocations: 118.2 kB / 1.234 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.9138, allocations: 333.9 kB / 1.234 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.9141, allocations: 189.2 kB / 1.234 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.9146, allocations: 421 kB / 1.235 GB, free: 2.77 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.00234/0.917, allocations: 1.178 MB / 1.236 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.917, allocations: 0 / 1.236 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001096/0.9181, allocations: 0.6674 MB / 1.236 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.9181, allocations: 13.34 kB / 1.236 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.9181, allocations: 8.781 kB / 1.236 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.9182, allocations: 8 kB / 1.236 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.9187, allocations: 135.8 kB / 1.236 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.9187, allocations: 11.94 kB / 1.237 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.9194, allocations: 63.8 kB / 1.237 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.9195, allocations: 28.06 kB / 1.237 GB, free: 0.5508 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.0004442/0.92, allocations: 269.6 kB / 1.237 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.9202, allocations: 83 kB / 1.237 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.9204, allocations: 91.67 kB / 1.237 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.9204, allocations: 7.984 kB / 1.237 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.9204, allocations: 0 / 1.237 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007815/0.9212, allocations: 0.695 MB / 1.238 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.9239, allocations: 1.649 MB / 1.239 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.9239, allocations: 4 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.9244, allocations: 92.39 kB / 1.239 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.9244, allocations: 11.94 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.9245, allocations: 16 kB / 1.239 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.9245, allocations: 11.94 kB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9245, allocations: 7.984 kB / 1.239 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.9257, allocations: 0.8608 MB / 1.24 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.926, allocations: 208 kB / 1.24 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.9262, allocations: 15.98 kB / 1.241 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.9268, allocations: 45.44 kB / 1.241 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.9268, allocations: 31.91 kB / 1.241 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.9269, allocations: 23.98 kB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006979/0.9276, allocations: 0.5068 MB / 1.241 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9276, allocations: 4 kB / 1.241 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008491/0.9285, allocations: 200 kB / 1.241 GB, free: 11.45 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.0005486/0.929, allocations: 206 kB / 1.241 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008662/0.9299, allocations: 476.1 kB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.9299, allocations: 4 kB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.9302, allocations: 209.6 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.9325, allocations: 472.5 kB / 1.243 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.9355, allocations: 2.011 MB / 1.245 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.9362, allocations: 1.032 MB / 1.246 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.9364, allocations: 63.44 kB / 1.246 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.9364, allocations: 0 / 1.246 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of Templates: time 0.5228/1.459, allocations: 12.89 MB / 1.258 GB, free: 230.8 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/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