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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 185.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.91 kB / 1.061 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 160.8 MB / 1.218 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2543/1.269, allocations: 188.3 MB / 1.402 GB, free: 10.22 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02093/1.29, allocations: 13.24 MB / 1.415 GB, free: 12.95 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/1.292, allocations: 47.62 kB / 1.415 GB, free: 12.9 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/1.294, allocations: 441.1 kB / 1.416 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004482/1.299, allocations: 1.221 MB / 1.417 GB, free: 11.24 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/1.301, allocations: 0.7413 MB / 1.418 GB, free: 10.5 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003878/1.305, allocations: 2.08 MB / 1.42 GB, free: 8.414 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/1.307, allocations: 0.6216 MB / 1.42 GB, free: 7.766 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/1.312, allocations: 1.915 MB / 1.422 GB, free: 5.844 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/1.315, allocations: 0.7251 MB / 1.423 GB, free: 5.121 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003743/1.315, allocations: 80 kB / 1.423 GB, free: 5.043 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/1.318, allocations: 0.9431 MB / 1.424 GB, free: 4.098 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007642/1.318, allocations: 394.9 kB / 1.424 GB, free: 3.711 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/1.32, allocations: 0.5054 MB / 1.425 GB, free: 3.203 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/1.323, allocations: 1.499 MB / 1.426 GB, free: 1.699 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.323, allocations: 0 / 1.426 GB, free: 1.699 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.172e-06/1.323, allocations: 0 / 1.426 GB, free: 1.699 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.299e-05/1.323, allocations: 0 / 1.426 GB, free: 1.699 MB / 1.123 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.003527/1.327, allocations: 1.261 MB / 1.427 GB, free: 396 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.327, allocations: 8.031 kB / 1.427 GB, free: 388 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.329, allocations: 223.1 kB / 1.428 GB, free: 164 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.33, allocations: 0.6915 MB / 1.428 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/1.33, allocations: 58 kB / 1.428 GB, free: 15.37 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/1.331, allocations: 79.98 kB / 1.428 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/1.332, allocations: 0.9327 MB / 1.429 GB, free: 14.27 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.332, allocations: 0 / 1.429 GB, free: 14.27 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/1.333, allocations: 35.94 kB / 1.429 GB, free: 14.24 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/1.333, allocations: 33.25 kB / 1.429 GB, free: 14.21 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.334, allocations: 0.6177 MB / 1.43 GB, free: 13.59 MB / 1.139 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.00547/1.339, allocations: 4.587 MB / 1.435 GB, free: 8.707 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/1.34, allocations: 0.5158 MB / 1.435 GB, free: 8.148 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/1.34, allocations: 234.4 kB / 1.435 GB, free: 7.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/1.341, allocations: 105.1 kB / 1.435 GB, free: 7.789 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/1.341, allocations: 42.56 kB / 1.435 GB, free: 7.738 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 2.285e-06/1.341, allocations: 0 / 1.435 GB, free: 7.738 MB / 1.139 GB Notification: Performance of matching and sorting (n=45): time 0.002982/1.344, allocations: 1.622 MB / 1.437 GB, free: 6.062 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/1.344, allocations: 107.1 kB / 1.437 GB, free: 5.934 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/1.345, allocations: 0.7194 MB / 1.438 GB, free: 5.203 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/1.345, allocations: 33.7 kB / 1.438 GB, free: 5.164 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/1.345, allocations: 424.5 kB / 1.438 GB, free: 4.742 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/1.345, allocations: 174.6 kB / 1.438 GB, free: 4.57 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/1.345, allocations: 114.2 kB / 1.438 GB, free: 4.453 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.346, allocations: 334 kB / 1.439 GB, free: 4.121 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/1.346, allocations: 189.1 kB / 1.439 GB, free: 3.934 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/1.346, allocations: 413 kB / 1.439 GB, free: 3.441 MB / 1.139 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.002304/1.349, allocations: 1.189 MB / 1.441 GB, free: 2.148 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.349, allocations: 7.922 kB / 1.441 GB, free: 2.141 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001037/1.35, allocations: 0.6716 MB / 1.441 GB, free: 1.461 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/1.35, allocations: 14.44 kB / 1.441 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.35, allocations: 8.781 kB / 1.441 GB, free: 1.441 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.35, allocations: 8 kB / 1.441 GB, free: 1.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/1.35, allocations: 131.8 kB / 1.441 GB, free: 1.305 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/1.35, allocations: 11.94 kB / 1.441 GB, free: 1.293 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/1.351, allocations: 30.33 kB / 1.441 GB, free: 1.266 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/1.351, allocations: 35.94 kB / 1.441 GB, free: 1.23 MB / 1.139 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.0003839/1.351, allocations: 273.5 kB / 1.442 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/1.351, allocations: 87.42 kB / 1.442 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/1.352, allocations: 87.66 kB / 1.442 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.352, allocations: 8 kB / 1.442 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.352, allocations: 4 kB / 1.442 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008023/1.352, allocations: 0.7003 MB / 1.443 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/1.355, allocations: 1.642 MB / 1.444 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.355, allocations: 8.031 kB / 1.444 GB, free: 14.22 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/1.355, allocations: 99.83 kB / 1.444 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.355, allocations: 11.94 kB / 1.444 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/1.355, allocations: 19.98 kB / 1.444 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.355, allocations: 4 kB / 1.444 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.355, allocations: 4 kB / 1.444 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.357, allocations: 0.8649 MB / 1.445 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/1.357, allocations: 212.5 kB / 1.445 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/1.357, allocations: 16 kB / 1.445 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/1.357, allocations: 23.98 kB / 1.445 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/1.357, allocations: 35.83 kB / 1.445 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/1.358, allocations: 27.92 kB / 1.445 GB, free: 12.83 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006498/1.358, allocations: 0.5029 MB / 1.446 GB, free: 12.33 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.358, allocations: 0 / 1.446 GB, free: 12.33 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007444/1.359, allocations: 207.9 kB / 1.446 GB, free: 12.13 MB / 1.154 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.0005047/1.359, allocations: 200.6 kB / 1.446 GB, free: 11.94 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007982/1.36, allocations: 465 kB / 1.447 GB, free: 11.49 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.36, allocations: 0 / 1.447 GB, free: 11.49 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/1.361, allocations: 195.7 kB / 1.447 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.362, allocations: 484.6 kB / 1.447 GB, free: 10.84 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/1.365, allocations: 1.679 MB / 1.449 GB, free: 9.074 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/1.366, allocations: 1.032 MB / 1.45 GB, free: 8.012 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005932/1.367, allocations: 199 kB / 1.45 GB, free: 7.812 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/1.367, allocations: 59.44 kB / 1.45 GB, free: 7.754 MB / 1.154 GB Notification: Performance of SimCode: time 6.71e-07/1.367, allocations: 0 / 1.45 GB, free: 7.754 MB / 1.154 GB Notification: Performance of Templates: time 0.03171/1.398, allocations: 15.65 MB / 1.466 GB, free: 8.348 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.935184550471604]