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.001803/0.001803, 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.002229/0.002229, allocations: 200 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.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.394/2.394, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7163/0.7178, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2111/0.9289, allocations: 185.1 MB / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.947, allocations: 13.12 MB / 1.143 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.9484, allocations: 27.81 kB / 1.143 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.95, allocations: 358 kB / 1.143 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.9535, allocations: 1.089 MB / 1.145 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.9556, allocations: 0.6245 MB / 1.145 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003557/0.9592, allocations: 2.769 MB / 1.148 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.9605, allocations: 0.7386 MB / 1.149 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004175/0.9647, allocations: 1.654 MB / 1.15 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.9668, allocations: 0.6885 MB / 1.151 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.9671, allocations: 44 kB / 1.151 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.9695, allocations: 0.978 MB / 1.152 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.9701, allocations: 351 kB / 1.152 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009513/0.971, allocations: 473.6 kB / 1.153 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.9726, allocations: 1.107 MB / 1.154 GB, free: 336 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.9726, allocations: 7.984 kB / 1.154 GB, free: 328 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9726, allocations: 0 / 1.154 GB, free: 328 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.807e-05/0.9727, allocations: 0 / 1.154 GB, free: 328 kB / 0.9044 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.002073/0.9747, allocations: 1.227 MB / 1.155 GB, free: 15.04 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9748, allocations: 8.031 kB / 1.155 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.976, allocations: 214.6 kB / 1.155 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/0.977, allocations: 0.6519 MB / 1.156 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.977, allocations: 58 kB / 1.156 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.9771, allocations: 76 kB / 1.156 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.9784, allocations: 0.9249 MB / 1.157 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.9785, allocations: 7.938 kB / 1.157 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.9785, allocations: 35.94 kB / 1.157 GB, free: 12.94 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.9786, allocations: 29.31 kB / 1.157 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.9795, allocations: 0.6138 MB / 1.157 GB, free: 12.3 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.004233/0.9838, allocations: 4.589 MB / 1.162 GB, free: 7.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.9846, allocations: 0.5416 MB / 1.162 GB, free: 6.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.985, allocations: 250.4 kB / 1.163 GB, free: 6.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.9852, allocations: 105.8 kB / 1.163 GB, free: 6.453 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.9852, allocations: 42.56 kB / 1.163 GB, free: 6.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/0.9852, allocations: 0 / 1.163 GB, free: 6.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.003073/0.9883, allocations: 1.59 MB / 1.164 GB, free: 4.754 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.9884, allocations: 106.8 kB / 1.165 GB, free: 4.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/0.9894, allocations: 0.7196 MB / 1.165 GB, free: 3.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.9894, allocations: 33.7 kB / 1.165 GB, free: 3.855 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.9898, allocations: 415.8 kB / 1.166 GB, free: 3.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.9899, allocations: 165.6 kB / 1.166 GB, free: 3.277 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.9901, allocations: 114.2 kB / 1.166 GB, free: 3.156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9903, allocations: 330 kB / 1.166 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.9906, allocations: 185.2 kB / 1.166 GB, free: 2.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.9911, allocations: 424.9 kB / 1.167 GB, free: 2.137 MB / 0.92 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.002349/0.9934, allocations: 1.179 MB / 1.168 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.9934, allocations: 4 kB / 1.168 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001087/0.9945, allocations: 0.6634 MB / 1.169 GB, free: 184 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.9946, allocations: 11.94 kB / 1.169 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.9946, allocations: 8 kB / 1.169 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.9946, allocations: 8.781 kB / 1.169 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.9951, allocations: 135.8 kB / 1.169 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.9951, allocations: 11.94 kB / 1.169 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.9958, allocations: 51.81 kB / 1.169 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.9959, allocations: 39.98 kB / 1.169 GB, free: 15.92 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.000405/0.9963, allocations: 273.5 kB / 1.169 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.9965, allocations: 83 kB / 1.169 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.9967, allocations: 83.67 kB / 1.169 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.9967, allocations: 4 kB / 1.169 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.9967, allocations: 12.05 kB / 1.169 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007341/0.9975, allocations: 0.6999 MB / 1.17 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1, allocations: 1.638 MB / 1.172 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1, allocations: 11.88 kB / 1.172 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/1, allocations: 95.89 kB / 1.172 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/1, allocations: 12.44 kB / 1.172 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/1.001, allocations: 20 kB / 1.172 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/1.001, allocations: 4 kB / 1.172 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.001, allocations: 7.938 kB / 1.172 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.002, allocations: 0.8645 MB / 1.173 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/1.002, allocations: 204.1 kB / 1.173 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.002, allocations: 15.98 kB / 1.173 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005411/1.003, allocations: 41.95 kB / 1.173 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/1.003, allocations: 43.81 kB / 1.173 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/1.003, allocations: 20 kB / 1.173 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006606/1.004, allocations: 0.5068 MB / 1.173 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 0 / 1.173 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007809/1.004, allocations: 211.9 kB / 1.174 GB, free: 10.81 MB / 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.0005004/1.005, allocations: 207.6 kB / 1.174 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000802/1.006, allocations: 476.1 kB / 1.174 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.006, allocations: 0 / 1.174 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/1.006, allocations: 210.2 kB / 1.174 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.008, allocations: 451 kB / 1.175 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/1.011, allocations: 2.011 MB / 1.177 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/1.012, allocations: 1.032 MB / 1.178 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/1.012, allocations: 67.44 kB / 1.178 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of SimCode: time 6.32e-07/1.012, allocations: 4 kB / 1.178 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of Templates: time 0.02262/1.035, allocations: 12.91 MB / 1.191 GB, free: 9.5 MB / 0.9512 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