Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002776/0.002776, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7706 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 65.72 kB / 1.118 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4084, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2541/0.6624, allocations: 191.2 MB / 1.471 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.6822, allocations: 13.24 MB / 1.484 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.6839, allocations: 43.62 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.6855, allocations: 441.1 kB / 1.484 GB, free: 13.57 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.6894, allocations: 1.221 MB / 1.485 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.6917, allocations: 0.7451 MB / 1.486 GB, free: 11.6 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003578/0.6952, allocations: 2.076 MB / 1.488 GB, free: 9.523 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.6965, allocations: 0.6176 MB / 1.489 GB, free: 8.883 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005564/0.7021, allocations: 1.915 MB / 1.49 GB, free: 6.961 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.7043, allocations: 0.7139 MB / 1.491 GB, free: 6.25 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.7045, allocations: 80 kB / 1.491 GB, free: 6.172 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.7073, allocations: 0.9431 MB / 1.492 GB, free: 5.227 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005363/0.7078, allocations: 394.9 kB / 1.492 GB, free: 4.84 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.7085, allocations: 0.4937 MB / 1.493 GB, free: 4.344 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.7114, allocations: 1.506 MB / 1.494 GB, free: 2.832 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7114, allocations: 0 / 1.494 GB, free: 2.832 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7114, allocations: 0 / 1.494 GB, free: 2.832 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.7114, allocations: 0 / 1.494 GB, free: 2.832 MB / 1.186 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.002349/0.7137, allocations: 1.193 MB / 1.496 GB, free: 1.605 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.33e-05/0.7138, allocations: 8.031 kB / 1.496 GB, free: 1.598 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.715, allocations: 219.2 kB / 1.496 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.7163, allocations: 0.6155 MB / 1.496 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.7164, allocations: 58 kB / 1.496 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.7165, allocations: 79.95 kB / 1.497 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.718, allocations: 0.9327 MB / 1.497 GB, free: 15.58 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.718, allocations: 4 kB / 1.497 GB, free: 15.58 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.7181, allocations: 35.94 kB / 1.497 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.7182, allocations: 33.23 kB / 1.498 GB, free: 15.51 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.7192, allocations: 0.6138 MB / 1.498 GB, free: 14.89 MB / 1.201 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.005095/0.7243, allocations: 4.535 MB / 1.503 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.7251, allocations: 463.1 kB / 1.503 GB, free: 9.598 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.7255, allocations: 245 kB / 1.503 GB, free: 9.352 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.7256, allocations: 19.98 kB / 1.503 GB, free: 9.332 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.7257, allocations: 42.56 kB / 1.503 GB, free: 9.281 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.7257, allocations: 0 / 1.503 GB, free: 9.281 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.003005/0.7287, allocations: 1.542 MB / 1.505 GB, free: 7.703 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7288, allocations: 115.1 kB / 1.505 GB, free: 7.566 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.7298, allocations: 0.7155 MB / 1.506 GB, free: 6.844 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.7298, allocations: 33.7 kB / 1.506 GB, free: 6.805 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.7302, allocations: 424.5 kB / 1.506 GB, free: 6.383 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.7304, allocations: 178.5 kB / 1.506 GB, free: 6.207 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.7306, allocations: 114.3 kB / 1.506 GB, free: 6.09 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7307, allocations: 330 kB / 1.507 GB, free: 5.762 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.731, allocations: 189.2 kB / 1.507 GB, free: 5.574 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.7315, allocations: 417 kB / 1.507 GB, free: 5.074 MB / 1.201 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.002353/0.7339, allocations: 1.098 MB / 1.508 GB, free: 3.891 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7339, allocations: 4 kB / 1.508 GB, free: 3.887 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001092/0.735, allocations: 0.6727 MB / 1.509 GB, free: 3.207 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.735, allocations: 11.94 kB / 1.509 GB, free: 3.195 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.735, allocations: 4 kB / 1.509 GB, free: 3.191 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.7351, allocations: 16 kB / 1.509 GB, free: 3.176 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.7355, allocations: 123.8 kB / 1.509 GB, free: 3.055 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-05/0.7356, allocations: 15.94 kB / 1.509 GB, free: 3.039 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.7361, allocations: 27.98 kB / 1.509 GB, free: 3.012 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.7362, allocations: 28 kB / 1.509 GB, free: 2.984 MB / 1.201 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.0004905/0.7367, allocations: 278 kB / 1.509 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.7368, allocations: 91.38 kB / 1.509 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.737, allocations: 99.66 kB / 1.51 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.737, allocations: 4 kB / 1.51 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.737, allocations: 0 / 1.51 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008342/0.7379, allocations: 0.6949 MB / 1.51 GB, free: 1.727 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.7406, allocations: 1.619 MB / 1.512 GB, free: 8 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.7406, allocations: 0 / 1.512 GB, free: 8 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.7411, allocations: 103.9 kB / 1.512 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.7411, allocations: 11.92 kB / 1.512 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.7411, allocations: 19.98 kB / 1.512 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.7411, allocations: 8 kB / 1.512 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.7411, allocations: 4 kB / 1.512 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.7423, allocations: 0.8656 MB / 1.513 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.7427, allocations: 139.4 kB / 1.513 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.7428, allocations: 19.98 kB / 1.513 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.7432, allocations: 16 kB / 1.513 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.7433, allocations: 43.81 kB / 1.513 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.7433, allocations: 16 kB / 1.513 GB, free: 14.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000721/0.744, allocations: 0.5146 MB / 1.514 GB, free: 14.19 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.744, allocations: 0 / 1.514 GB, free: 14.19 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007928/0.7448, allocations: 203.9 kB / 1.514 GB, free: 13.99 MB / 1.217 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.0005175/0.7453, allocations: 177.7 kB / 1.514 GB, free: 13.82 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008544/0.7462, allocations: 461.1 kB / 1.514 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.7462, allocations: 0 / 1.514 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.7465, allocations: 203.7 kB / 1.515 GB, free: 13.17 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.7485, allocations: 475.3 kB / 1.515 GB, free: 12.71 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.7514, allocations: 1.694 MB / 1.517 GB, free: 10.94 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.7521, allocations: 1.032 MB / 1.518 GB, free: 9.875 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000637/0.7527, allocations: 199 kB / 1.518 GB, free: 9.676 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.7529, allocations: 63.44 kB / 1.518 GB, free: 9.613 MB / 1.217 GB Notification: Performance of SimCode: time 5.51e-07/0.7529, allocations: 0 / 1.518 GB, free: 9.613 MB / 1.217 GB Notification: Performance of Templates: time 0.03073/0.7836, allocations: 15.6 MB / 1.533 GB, free: 10.24 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.341197860892862]