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.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.001785/0.001785, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002021/0.002021, allocations: 156 kB / 23.01 MB, free: 4.605 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.836/2.836, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002078/0.002078, allocations: 63.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8746/0.8766, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2153/1.092, allocations: 165.7 MB / 1.348 GB, free: 168 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0167/1.109, allocations: 12.02 MB / 1.36 GB, free: 4.117 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009167/1.11, allocations: 39.69 kB / 1.36 GB, free: 4.078 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/1.111, allocations: 429.1 kB / 1.361 GB, free: 3.656 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002918/1.114, allocations: 1.202 MB / 1.362 GB, free: 2.449 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/1.116, allocations: 0.7318 MB / 1.362 GB, free: 1.719 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002736/1.118, allocations: 2.035 MB / 1.364 GB, free: 15.68 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.119, allocations: 0.6176 MB / 1.365 GB, free: 15.04 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005077/1.124, allocations: 2.012 MB / 1.367 GB, free: 13.02 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/1.127, allocations: 0.6677 MB / 1.368 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002602/1.127, allocations: 80 kB / 1.368 GB, free: 12.28 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/1.13, allocations: 0.7248 MB / 1.368 GB, free: 11.55 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007482/1.13, allocations: 394.8 kB / 1.369 GB, free: 11.16 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005846/1.131, allocations: 426.1 kB / 1.369 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/1.134, allocations: 1.483 MB / 1.371 GB, free: 9.258 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.134, allocations: 0 / 1.371 GB, free: 9.258 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.843e-06/1.134, allocations: 0 / 1.371 GB, free: 9.258 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.401e-05/1.134, allocations: 7.875 kB / 1.371 GB, free: 9.25 MB / 1.217 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.002407/1.136, allocations: 1.182 MB / 1.372 GB, free: 8.035 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.137, allocations: 12.03 kB / 1.372 GB, free: 8.023 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/1.138, allocations: 223.1 kB / 1.372 GB, free: 7.805 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/1.14, allocations: 0.6116 MB / 1.373 GB, free: 7.164 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/1.14, allocations: 58 kB / 1.373 GB, free: 7.109 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.14, allocations: 76 kB / 1.373 GB, free: 7.035 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/1.142, allocations: 1.058 MB / 1.374 GB, free: 5.859 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.142, allocations: 3.938 kB / 1.374 GB, free: 5.855 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/1.142, allocations: 39.92 kB / 1.374 GB, free: 5.816 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/1.142, allocations: 29.31 kB / 1.374 GB, free: 5.789 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/1.143, allocations: 0.6177 MB / 1.375 GB, free: 5.172 MB / 1.217 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.004096/1.147, allocations: 3.578 MB / 1.378 GB, free: 1.457 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/1.148, allocations: 459.2 kB / 1.378 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/1.148, allocations: 233.1 kB / 1.379 GB, free: 0.75 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/1.148, allocations: 27.98 kB / 1.379 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/1.148, allocations: 46.48 kB / 1.379 GB, free: 0.668 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/1.148, allocations: 0 / 1.379 GB, free: 0.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002781/1.151, allocations: 1.539 MB / 1.38 GB, free: 15.09 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/1.151, allocations: 106.8 kB / 1.38 GB, free: 14.96 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/1.152, allocations: 0.5381 MB / 1.381 GB, free: 14.42 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/1.152, allocations: 29.7 kB / 1.381 GB, free: 14.39 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/1.152, allocations: 444 kB / 1.381 GB, free: 13.95 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/1.152, allocations: 166.6 kB / 1.381 GB, free: 13.78 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/1.153, allocations: 122.2 kB / 1.382 GB, free: 13.66 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002131/1.153, allocations: 375 kB / 1.382 GB, free: 13.28 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/1.153, allocations: 189.2 kB / 1.382 GB, free: 13.1 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/1.154, allocations: 0.5617 MB / 1.383 GB, free: 12.4 MB / 1.232 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.002385/1.156, allocations: 1.097 MB / 1.384 GB, free: 11.22 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.156, allocations: 7.938 kB / 1.384 GB, free: 11.21 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001081/1.157, allocations: 0.6646 MB / 1.384 GB, free: 10.54 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.157, allocations: 8 kB / 1.384 GB, free: 10.53 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.157, allocations: 11.94 kB / 1.384 GB, free: 10.52 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/1.157, allocations: 11.98 kB / 1.384 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/1.158, allocations: 123.8 kB / 1.385 GB, free: 10.39 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.158, allocations: 15.92 kB / 1.385 GB, free: 10.37 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/1.158, allocations: 23.98 kB / 1.385 GB, free: 10.35 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/1.158, allocations: 32 kB / 1.385 GB, free: 10.32 MB / 1.232 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.0004264/1.159, allocations: 269.6 kB / 1.385 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.159, allocations: 71.61 kB / 1.385 GB, free: 9.973 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/1.159, allocations: 82.19 kB / 1.385 GB, free: 9.895 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.159, allocations: 4 kB / 1.385 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.159, allocations: 7.984 kB / 1.385 GB, free: 9.883 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008656/1.16, allocations: 0.7041 MB / 1.386 GB, free: 9.094 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/1.162, allocations: 1.436 MB / 1.387 GB, free: 7.57 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.162, allocations: 4 kB / 1.387 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/1.163, allocations: 99.89 kB / 1.387 GB, free: 7.469 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.163, allocations: 7.984 kB / 1.387 GB, free: 7.461 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/1.163, allocations: 16 kB / 1.387 GB, free: 7.445 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.163, allocations: 16.34 kB / 1.387 GB, free: 7.43 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.163, allocations: 4 kB / 1.387 GB, free: 7.426 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.164, allocations: 0.8542 MB / 1.388 GB, free: 6.504 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/1.164, allocations: 107.6 kB / 1.388 GB, free: 6.398 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/1.164, allocations: 16 kB / 1.388 GB, free: 6.383 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/1.165, allocations: 24.52 kB / 1.388 GB, free: 6.359 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/1.165, allocations: 39.88 kB / 1.388 GB, free: 6.32 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/1.165, allocations: 23.94 kB / 1.388 GB, free: 6.297 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005019/1.165, allocations: 362.8 kB / 1.389 GB, free: 5.945 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.165, allocations: 4 kB / 1.389 GB, free: 5.941 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008453/1.166, allocations: 203.9 kB / 1.389 GB, free: 5.742 MB / 1.232 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.0004896/1.167, allocations: 183.9 kB / 1.389 GB, free: 5.559 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009111/1.168, allocations: 461.4 kB / 1.389 GB, free: 5.109 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.168, allocations: 0 / 1.389 GB, free: 5.109 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/1.168, allocations: 199.9 kB / 1.39 GB, free: 4.914 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.17, allocations: 340.3 kB / 1.39 GB, free: 4.594 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/1.172, allocations: 1.64 MB / 1.392 GB, free: 2.871 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/1.173, allocations: 444.1 kB / 1.392 GB, free: 2.41 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005458/1.174, allocations: 173.3 kB / 1.392 GB, free: 2.238 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.174, allocations: 56.48 kB / 1.392 GB, free: 2.184 MB / 1.232 GB Notification: Performance of SimCode: time 6.62e-07/1.174, allocations: 0 / 1.392 GB, free: 2.184 MB / 1.232 GB Notification: Performance of Templates: time 0.02248/1.196, allocations: 11.95 MB / 1.404 GB, free: 6.578 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.452007016981952]