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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001695/0.001695, allocations: 197.3 kB / 16.14 MB, free: 6.711 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.897/2.897, allocations: 461.8 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 70.84 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2116/0.5516, allocations: 185.1 MB / 1.233 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.5698, allocations: 13.12 MB / 1.246 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.5713, allocations: 31.81 kB / 1.246 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.573, allocations: 342 kB / 1.246 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.5766, allocations: 1.093 MB / 1.247 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6917/1.268, allocations: 0.6232 MB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004923/1.273, allocations: 2.78 MB / 1.25 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/1.275, allocations: 0.7257 MB / 1.251 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/1.279, allocations: 1.646 MB / 1.253 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/1.282, allocations: 0.693 MB / 1.253 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/1.282, allocations: 43.28 kB / 1.253 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/1.285, allocations: 0.9807 MB / 1.254 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007443/1.286, allocations: 354.4 kB / 1.255 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.287, allocations: 472.9 kB / 1.255 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003142/1.29, allocations: 1.491 MB / 1.257 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.29, allocations: 0.5625 kB / 1.257 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.29, allocations: 6.812 kB / 1.257 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.29, allocations: 0 / 1.257 GB, free: 3.422 MB / 0.9981 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.002468/1.292, allocations: 1.226 MB / 1.258 GB, free: 18.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/1.292, allocations: 12.69 kB / 1.258 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.294, allocations: 216.6 kB / 1.258 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.295, allocations: 0.6464 MB / 1.259 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/1.295, allocations: 58.91 kB / 1.259 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.295, allocations: 79.72 kB / 1.259 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/1.297, allocations: 0.9248 MB / 1.26 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.297, allocations: 9.031 kB / 1.26 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/1.297, allocations: 40.8 kB / 1.26 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/1.297, allocations: 31.27 kB / 1.26 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000996/1.298, allocations: 0.6166 MB / 1.26 GB, free: 18.11 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.004969/1.303, allocations: 4.593 MB / 1.265 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/1.304, allocations: 0.5414 MB / 1.265 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/1.304, allocations: 252.8 kB / 1.266 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.305, allocations: 104.7 kB / 1.266 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.305, allocations: 38.38 kB / 1.266 GB, free: 14.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/1.305, allocations: 0 / 1.266 GB, free: 14.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.00379/1.308, allocations: 1.585 MB / 1.267 GB, free: 13.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/1.308, allocations: 107.5 kB / 1.267 GB, free: 13.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.31, allocations: 0.7213 MB / 1.268 GB, free: 13.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/1.31, allocations: 37.64 kB / 1.268 GB, free: 13.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/1.31, allocations: 419.7 kB / 1.269 GB, free: 13.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.31, allocations: 159.1 kB / 1.269 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/1.311, allocations: 122.1 kB / 1.269 GB, free: 13.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.311, allocations: 331.3 kB / 1.269 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/1.311, allocations: 185.8 kB / 1.269 GB, free: 13.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/1.312, allocations: 424.7 kB / 1.27 GB, free: 12.81 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.002616/1.314, allocations: 1.181 MB / 1.271 GB, free: 12.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.314, allocations: 1.656 kB / 1.271 GB, free: 12.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001535/1.316, allocations: 0.6656 MB / 1.272 GB, free: 12.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.316, allocations: 9.797 kB / 1.272 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/1.316, allocations: 6.875 kB / 1.272 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/1.316, allocations: 10.19 kB / 1.272 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/1.317, allocations: 125.3 kB / 1.272 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.523e-05/1.317, allocations: 14.8 kB / 1.272 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/1.317, allocations: 60.59 kB / 1.272 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.318, allocations: 31.5 kB / 1.272 GB, free: 12.37 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 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.0005575/1.318, allocations: 271.6 kB / 1.272 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/1.318, allocations: 83.09 kB / 1.272 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/1.319, allocations: 91.22 kB / 1.272 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/1.319, allocations: 6.047 kB / 1.272 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.319, allocations: 1.953 kB / 1.272 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009381/1.32, allocations: 0.7052 MB / 1.273 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/1.323, allocations: 1.644 MB / 1.275 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.323, allocations: 6.719 kB / 1.275 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/1.323, allocations: 94.84 kB / 1.275 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/1.323, allocations: 7.047 kB / 1.275 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/1.323, allocations: 16.12 kB / 1.275 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/1.323, allocations: 7.781 kB / 1.275 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.323, allocations: 11.27 kB / 1.275 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.325, allocations: 0.8607 MB / 1.275 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/1.325, allocations: 207.3 kB / 1.276 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.325, allocations: 12.89 kB / 1.276 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006075/1.326, allocations: 39.88 kB / 1.276 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/1.326, allocations: 49.17 kB / 1.276 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/1.326, allocations: 22.03 kB / 1.276 GB, free: 10.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001008/1.327, allocations: 0.5088 MB / 1.276 GB, free: 10.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.327, allocations: 0 / 1.276 GB, free: 10.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001162/1.328, allocations: 196.6 kB / 1.276 GB, free: 10.59 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.0006714/1.329, allocations: 205.9 kB / 1.277 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.33, allocations: 483.6 kB / 1.277 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.33, allocations: 1.156 kB / 1.277 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/1.33, allocations: 209 kB / 1.277 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.333, allocations: 456 kB / 1.278 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/1.337, allocations: 1.954 MB / 1.28 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.338, allocations: 1.032 MB / 1.281 GB, free: 8.621 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001177/1.339, allocations: 203.5 kB / 1.281 GB, free: 8.586 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.339, allocations: 64.97 kB / 1.281 GB, free: 8.578 MB / 1.014 GB Notification: Performance of SimCode: time 2.445e-06/1.339, allocations: 0 / 1.281 GB, free: 8.578 MB / 1.014 GB Notification: Performance of Templates: time 0.03426/1.373, allocations: 14.47 MB / 1.295 GB, free: 7.738 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