Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008157/0.0008155, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005459/0.005459, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 462.6 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 12.16 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3962, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2076/0.6038, allocations: 182.6 MB / 1.237 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.6204, allocations: 12.95 MB / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.622, allocations: 31.81 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.6236, allocations: 346 kB / 1.25 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7998/1.423, allocations: 1.079 MB / 1.251 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/1.426, allocations: 0.6308 MB / 1.252 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004973/1.431, allocations: 2.78 MB / 1.254 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/1.432, allocations: 0.7085 MB / 1.255 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005376/1.438, allocations: 1.618 MB / 1.257 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/1.44, allocations: 0.664 MB / 1.257 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.941e-05/1.44, allocations: 35 kB / 1.257 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/1.443, allocations: 0.966 MB / 1.258 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005302/1.443, allocations: 335.8 kB / 1.259 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009357/1.444, allocations: 473.7 kB / 1.259 GB, free: 19.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/1.447, allocations: 1.474 MB / 1.26 GB, free: 19.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.447, allocations: 0 / 1.26 GB, free: 19.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/1.447, allocations: 0 / 1.26 GB, free: 19.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.333e-05/1.447, allocations: 0 / 1.26 GB, free: 19.62 MB / 1.014 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.001752/1.448, allocations: 1.053 MB / 1.262 GB, free: 18.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.448, allocations: 11.34 kB / 1.262 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/1.45, allocations: 217.5 kB / 1.262 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000986/1.451, allocations: 0.6429 MB / 1.262 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/1.451, allocations: 54.12 kB / 1.262 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.451, allocations: 82.92 kB / 1.262 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.452, allocations: 0.9294 MB / 1.263 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/1.452, allocations: 7.312 kB / 1.263 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.731e-05/1.452, allocations: 35.08 kB / 1.263 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/1.452, allocations: 32.53 kB / 1.263 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/1.453, allocations: 0.6189 MB / 1.264 GB, free: 18.32 MB / 1.014 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.004649/1.458, allocations: 4.59 MB / 1.269 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/1.459, allocations: 0.5446 MB / 1.269 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/1.459, allocations: 246.9 kB / 1.269 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/1.46, allocations: 101.3 kB / 1.269 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.46, allocations: 46.06 kB / 1.269 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.966e-06/1.46, allocations: 7.094 kB / 1.269 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003422/1.463, allocations: 1.583 MB / 1.271 GB, free: 14.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/1.463, allocations: 107.8 kB / 1.271 GB, free: 14.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.464, allocations: 0.7189 MB / 1.272 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/1.464, allocations: 40.3 kB / 1.272 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/1.465, allocations: 412.8 kB / 1.272 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.465, allocations: 163.2 kB / 1.272 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.465, allocations: 56.95 kB / 1.272 GB, free: 13.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.465, allocations: 330.7 kB / 1.273 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/1.465, allocations: 187.3 kB / 1.273 GB, free: 13.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/1.466, allocations: 424.2 kB / 1.273 GB, free: 13.04 MB / 1.014 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.002502/1.468, allocations: 1.182 MB / 1.275 GB, free: 12.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.468, allocations: 2.219 kB / 1.275 GB, free: 12.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001434/1.47, allocations: 0.6616 MB / 1.275 GB, free: 12.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.47, allocations: 7.844 kB / 1.275 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.47, allocations: 7.203 kB / 1.275 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.13e-05/1.47, allocations: 11.27 kB / 1.275 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/1.471, allocations: 130.2 kB / 1.275 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.151e-05/1.471, allocations: 17.66 kB / 1.275 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/1.471, allocations: 61.16 kB / 1.275 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/1.471, allocations: 27.36 kB / 1.275 GB, free: 12.6 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0006489/1.472, allocations: 277.2 kB / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/1.472, allocations: 80.8 kB / 1.276 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/1.473, allocations: 89.05 kB / 1.276 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.473, allocations: 5.531 kB / 1.276 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/1.473, allocations: 4.969 kB / 1.276 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/1.474, allocations: 0.6964 MB / 1.277 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/1.477, allocations: 1.646 MB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.477, allocations: 4.031 kB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/1.477, allocations: 98.95 kB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.477, allocations: 6.688 kB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/1.477, allocations: 17.69 kB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/1.477, allocations: 14.33 kB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.477, allocations: 9.344 kB / 1.278 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.478, allocations: 0.8703 MB / 1.279 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/1.479, allocations: 207.9 kB / 1.279 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/1.479, allocations: 17.59 kB / 1.279 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/1.479, allocations: 36.97 kB / 1.279 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/1.479, allocations: 38.38 kB / 1.279 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/1.479, allocations: 21.16 kB / 1.279 GB, free: 10.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008226/1.48, allocations: 0.512 MB / 1.28 GB, free: 10.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.48, allocations: 1.375 kB / 1.28 GB, free: 10.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009546/1.481, allocations: 197.7 kB / 1.28 GB, free: 10.8 MB / 1.014 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.0005702/1.482, allocations: 208.5 kB / 1.28 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008722/1.483, allocations: 480.1 kB / 1.281 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.483, allocations: 1.125 kB / 1.281 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/1.483, allocations: 208.4 kB / 1.281 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/1.486, allocations: 462.7 kB / 1.281 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/1.489, allocations: 2.03 MB / 1.283 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/1.49, allocations: 1.027 MB / 1.284 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008757/1.491, allocations: 198.7 kB / 1.285 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/1.491, allocations: 64.52 kB / 1.285 GB, free: 8.77 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/1.491, allocations: 4 kB / 1.285 GB, free: 8.766 MB / 1.014 GB Notification: Performance of Templates: time 0.03194/1.523, allocations: 14.4 MB / 1.299 GB, free: 7.91 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches