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.0008028/0.0008028, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008268/0.0008268, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.406 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.579/2.579, allocations: 437.7 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 15.94 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.594/0.5944, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1698/0.7642, allocations: 170.4 MB / 1.189 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02102/0.7852, allocations: 12.13 MB / 1.201 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.7863, allocations: 31.81 kB / 1.201 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.7876, allocations: 294 kB / 1.201 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.7905, allocations: 0.8747 MB / 1.202 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.7924, allocations: 0.5376 MB / 1.202 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003469/0.7959, allocations: 2.339 MB / 1.205 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.7971, allocations: 0.6099 MB / 1.205 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.801, allocations: 1.357 MB / 1.207 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.8022, allocations: 0.6187 MB / 1.207 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.8024, allocations: 36 kB / 1.207 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.8039, allocations: 451 kB / 1.208 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.8044, allocations: 339 kB / 1.208 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.8047, allocations: 201.2 kB / 1.208 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.8063, allocations: 1.033 MB / 1.209 GB, free: 368 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8063, allocations: 0 / 1.209 GB, free: 368 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8063, allocations: 4 kB / 1.209 GB, free: 364 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.8063, allocations: 4 kB / 1.209 GB, free: 360 kB / 0.9512 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.001869/0.8082, allocations: 1.052 MB / 1.21 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.8082, allocations: 12.02 kB / 1.21 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.8094, allocations: 218.6 kB / 1.21 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/0.8103, allocations: 0.6212 MB / 1.211 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.8104, allocations: 62 kB / 1.211 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.8105, allocations: 76 kB / 1.211 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.8118, allocations: 0.9365 MB / 1.212 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.8119, allocations: 3.938 kB / 1.212 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.8119, allocations: 36 kB / 1.212 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.812, allocations: 29.31 kB / 1.212 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/0.8129, allocations: 0.6099 MB / 1.213 GB, free: 12.53 MB / 0.9669 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.004102/0.817, allocations: 4.601 MB / 1.217 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.8178, allocations: 0.5364 MB / 1.218 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.8182, allocations: 252 kB / 1.218 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.8184, allocations: 97.09 kB / 1.218 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.8184, allocations: 46.55 kB / 1.218 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.8184, allocations: 0 / 1.218 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002682/0.8211, allocations: 1.585 MB / 1.22 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.8212, allocations: 110.8 kB / 1.22 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.822, allocations: 0.7079 MB / 1.22 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.8221, allocations: 37.7 kB / 1.22 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.8224, allocations: 415.8 kB / 1.221 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.8225, allocations: 165.7 kB / 1.221 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.8226, allocations: 11.94 kB / 1.221 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8227, allocations: 330 kB / 1.221 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.823, allocations: 185.2 kB / 1.222 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.8235, allocations: 421 kB / 1.222 GB, free: 2.488 MB / 0.9669 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.001556/0.825, allocations: 0.67 MB / 1.223 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.825, allocations: 4 kB / 1.223 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009838/0.826, allocations: 0.6626 MB / 1.223 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8261, allocations: 11.95 kB / 1.223 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8261, allocations: 7.984 kB / 1.223 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.8261, allocations: 12 kB / 1.223 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.8266, allocations: 127.8 kB / 1.223 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.8266, allocations: 15.94 kB / 1.223 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.8271, allocations: 56.05 kB / 1.223 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.8272, allocations: 32.06 kB / 1.223 GB, free: 0.8711 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003452/0.8276, allocations: 271.1 kB / 1.224 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.8277, allocations: 83.06 kB / 1.224 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.8279, allocations: 95.61 kB / 1.224 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.8279, allocations: 8 kB / 1.224 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8279, allocations: 0 / 1.224 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007262/0.8286, allocations: 0.7027 MB / 1.225 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.8309, allocations: 1.634 MB / 1.226 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.831, allocations: 7.938 kB / 1.226 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.8314, allocations: 95.89 kB / 1.226 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.8314, allocations: 4.094 kB / 1.226 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.8315, allocations: 15.98 kB / 1.226 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.8315, allocations: 11.98 kB / 1.226 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8315, allocations: 11.89 kB / 1.226 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.8326, allocations: 0.8572 MB / 1.227 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.8329, allocations: 208.1 kB / 1.227 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.833, allocations: 16 kB / 1.227 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.8334, allocations: 35.91 kB / 1.227 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.8335, allocations: 43.86 kB / 1.227 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.8335, allocations: 19.98 kB / 1.227 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005827/0.8341, allocations: 0.5029 MB / 1.228 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8341, allocations: 0 / 1.228 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006759/0.8348, allocations: 200 kB / 1.228 GB, free: 11.78 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003977/0.8352, allocations: 209.7 kB / 1.228 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000722/0.836, allocations: 468.7 kB / 1.229 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.836, allocations: 4.375 kB / 1.229 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.8363, allocations: 212.1 kB / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.8382, allocations: 456.6 kB / 1.229 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.8406, allocations: 2.013 MB / 1.231 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.8412, allocations: 1.032 MB / 1.232 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006293/0.8419, allocations: 199 kB / 1.233 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.842, allocations: 63.42 kB / 1.233 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.842, allocations: 0 / 1.233 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of Templates: time 0.02198/0.864, allocations: 13.93 MB / 1.246 GB, free: 9.363 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches