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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001682/0.001682, 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.001898/0.001897, allocations: 198.1 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.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.7 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.95 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2042/0.6155, allocations: 185.1 MB / 1.248 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.837/1.453, allocations: 13.11 MB / 1.261 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/1.454, allocations: 33.47 kB / 1.261 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/1.456, allocations: 351 kB / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003635/1.459, allocations: 1.09 MB / 1.263 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/1.462, allocations: 0.6279 MB / 1.263 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004246/1.466, allocations: 2.769 MB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/1.467, allocations: 0.7294 MB / 1.267 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/1.472, allocations: 1.656 MB / 1.268 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/1.475, allocations: 0.6926 MB / 1.269 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/1.475, allocations: 43.81 kB / 1.269 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/1.478, allocations: 0.9778 MB / 1.27 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005669/1.478, allocations: 353.7 kB / 1.27 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007946/1.479, allocations: 471.8 kB / 1.271 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/1.482, allocations: 1.497 MB / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.482, allocations: 1.672 kB / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/1.482, allocations: 0 / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.476e-05/1.482, allocations: 0 / 1.272 GB, free: 5.223 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.002313/1.484, allocations: 1.238 MB / 1.273 GB, free: 20.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.484, allocations: 10 kB / 1.273 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/1.486, allocations: 210.5 kB / 1.273 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.487, allocations: 0.6469 MB / 1.274 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/1.487, allocations: 56.94 kB / 1.274 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.487, allocations: 86.39 kB / 1.274 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/1.488, allocations: 0.9342 MB / 1.275 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/1.488, allocations: 7.172 kB / 1.275 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/1.488, allocations: 32 kB / 1.275 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/1.489, allocations: 28.19 kB / 1.275 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/1.49, allocations: 0.6142 MB / 1.276 GB, free: 19.9 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.004962/1.495, allocations: 4.587 MB / 1.28 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.496, allocations: 0.5499 MB / 1.281 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/1.496, allocations: 247.2 kB / 1.281 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/1.496, allocations: 101.5 kB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/1.496, allocations: 46.28 kB / 1.281 GB, free: 16.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.056e-06/1.496, allocations: 1.094 kB / 1.281 GB, free: 16.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003322/1.5, allocations: 1.59 MB / 1.283 GB, free: 15.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/1.5, allocations: 112.7 kB / 1.283 GB, free: 15.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.501, allocations: 0.7129 MB / 1.284 GB, free: 15.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/1.501, allocations: 36.48 kB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/1.502, allocations: 416.2 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.502, allocations: 167.4 kB / 1.284 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/1.502, allocations: 116.4 kB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.502, allocations: 331 kB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/1.503, allocations: 188.4 kB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/1.503, allocations: 415.1 kB / 1.285 GB, free: 14.61 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.00243/1.505, allocations: 1.174 MB / 1.286 GB, free: 14.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/1.506, allocations: 6.656 kB / 1.286 GB, free: 14.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001261/1.507, allocations: 0.6748 MB / 1.287 GB, free: 14.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.507, allocations: 8.5 kB / 1.287 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.507, allocations: 7.281 kB / 1.287 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.814e-05/1.507, allocations: 14 kB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/1.507, allocations: 128.8 kB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/1.507, allocations: 14.17 kB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/1.508, allocations: 53.67 kB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/1.508, allocations: 28.17 kB / 1.287 GB, free: 14.16 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.0005797/1.509, allocations: 273.1 kB / 1.288 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/1.509, allocations: 87.88 kB / 1.288 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/1.509, allocations: 90.31 kB / 1.288 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.509, allocations: 5.703 kB / 1.288 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.509, allocations: 1.5 kB / 1.288 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008363/1.51, allocations: 0.7023 MB / 1.288 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/1.513, allocations: 1.641 MB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/1.513, allocations: 4.25 kB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/1.514, allocations: 99.48 kB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/1.514, allocations: 9.25 kB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.543e-05/1.514, allocations: 18.36 kB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/1.514, allocations: 8.688 kB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.514, allocations: 7.125 kB / 1.29 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.515, allocations: 0.8701 MB / 1.291 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/1.516, allocations: 208 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/1.516, allocations: 14.06 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/1.517, allocations: 36.58 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/1.517, allocations: 41.47 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/1.517, allocations: 20.88 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000852/1.518, allocations: 0.512 MB / 1.292 GB, free: 12.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.518, allocations: 4 kB / 1.292 GB, free: 12.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001169/1.519, allocations: 202.8 kB / 1.292 GB, free: 12.36 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.0006128/1.519, allocations: 204.8 kB / 1.292 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009812/1.52, allocations: 470.7 kB / 1.293 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.52, allocations: 1.469 kB / 1.293 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/1.521, allocations: 214.9 kB / 1.293 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.523, allocations: 463.3 kB / 1.293 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/1.527, allocations: 1.946 MB / 1.295 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/1.528, allocations: 1.028 MB / 1.296 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001017/1.529, allocations: 200.3 kB / 1.296 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/1.529, allocations: 61.16 kB / 1.296 GB, free: 10.34 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.529, allocations: 1.094 kB / 1.296 GB, free: 10.34 MB / 1.014 GB Notification: Performance of Templates: time 0.03135/1.56, allocations: 14.48 MB / 1.311 GB, free: 9.48 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