Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001442/0.001442, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001682/0.001682, allocations: 214.5 kB / 22.99 MB, free: 4.984 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.411/3.411, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [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.002066/0.002066, allocations: 67.94 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.422, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2441/0.6661, allocations: 168.6 MB / 1.492 GB, free: 7.832 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.6775, allocations: 5.454 MB / 1.497 GB, free: 2.367 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.6791, allocations: 59.5 kB / 1.497 GB, free: 2.309 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.6809, allocations: 0.5513 MB / 1.498 GB, free: 1.754 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.6868, allocations: 1.941 MB / 1.5 GB, free: 15.8 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.6904, allocations: 1.216 MB / 1.501 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004807/0.6952, allocations: 3.025 MB / 1.504 GB, free: 11.56 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.6965, allocations: 0.7397 MB / 1.504 GB, free: 10.81 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.6996, allocations: 1.327 MB / 1.506 GB, free: 9.477 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.7021, allocations: 0.9671 MB / 1.507 GB, free: 8.512 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.7023, allocations: 108 kB / 1.507 GB, free: 8.406 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.7054, allocations: 1.184 MB / 1.508 GB, free: 7.219 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005783/0.706, allocations: 482.5 kB / 1.508 GB, free: 6.746 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008041/0.7068, allocations: 0.5408 MB / 1.509 GB, free: 6.203 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.7104, allocations: 2.118 MB / 1.511 GB, free: 4.082 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7104, allocations: 0 / 1.511 GB, free: 4.082 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7104, allocations: 0 / 1.511 GB, free: 4.082 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.7104, allocations: 0 / 1.511 GB, free: 4.082 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003072/0.7135, allocations: 1.478 MB / 1.512 GB, free: 2.566 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.7135, allocations: 8.031 kB / 1.512 GB, free: 2.559 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.7156, allocations: 318.9 kB / 1.513 GB, free: 2.246 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.7173, allocations: 0.7839 MB / 1.513 GB, free: 1.434 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.7174, allocations: 65.98 kB / 1.514 GB, free: 1.371 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.7175, allocations: 80 kB / 1.514 GB, free: 1.293 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.7196, allocations: 1.373 MB / 1.515 GB, free: 15.8 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.7196, allocations: 0 / 1.515 GB, free: 15.8 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/0.7197, allocations: 40 kB / 1.515 GB, free: 15.76 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.7198, allocations: 30 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.7214, allocations: 0.8198 MB / 1.516 GB, free: 14.91 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.005385/0.7268, allocations: 2.383 MB / 1.518 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.7277, allocations: 481.2 kB / 1.519 GB, free: 12 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.7282, allocations: 281.9 kB / 1.519 GB, free: 11.72 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.7283, allocations: 24.42 kB / 1.519 GB, free: 11.7 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.7284, allocations: 43 kB / 1.519 GB, free: 11.65 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.976e-06/0.7284, allocations: 0 / 1.519 GB, free: 11.65 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004255/0.7326, allocations: 1.691 MB / 1.521 GB, free: 9.922 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.7327, allocations: 55.84 kB / 1.521 GB, free: 9.852 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/0.7335, allocations: 0.6526 MB / 1.521 GB, free: 9.191 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.7336, allocations: 41.69 kB / 1.521 GB, free: 9.145 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.734, allocations: 492 kB / 1.522 GB, free: 8.656 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.7342, allocations: 178.5 kB / 1.522 GB, free: 8.48 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.7344, allocations: 114.2 kB / 1.522 GB, free: 8.363 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.7347, allocations: 382.7 kB / 1.522 GB, free: 7.98 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.7351, allocations: 249.2 kB / 1.523 GB, free: 7.738 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.7358, allocations: 408.5 kB / 1.523 GB, free: 7.289 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.7399, allocations: 1.444 MB / 1.524 GB, free: 5.809 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7399, allocations: 3.938 kB / 1.524 GB, free: 5.805 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001625/0.7415, allocations: 0.7758 MB / 1.525 GB, free: 5.02 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.7415, allocations: 4 kB / 1.525 GB, free: 5.016 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7415, allocations: 4 kB / 1.525 GB, free: 5.012 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.7419, allocations: 97.98 kB / 1.525 GB, free: 4.91 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.7426, allocations: 143.8 kB / 1.525 GB, free: 4.77 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.746, allocations: 3.045 MB / 1.528 GB, free: 1.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008448/0.7469, allocations: 23.94 kB / 1.528 GB, free: 1.496 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.7469, allocations: 24 kB / 1.528 GB, free: 1.473 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000636/0.7476, allocations: 305.5 kB / 1.529 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.7477, allocations: 79.53 kB / 1.529 GB, free: 1.086 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.7479, allocations: 95.34 kB / 1.529 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7479, allocations: 8.062 kB / 1.529 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.7479, allocations: 0 / 1.529 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.7491, allocations: 0.8388 MB / 1.53 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.752, allocations: 1.537 MB / 1.531 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.752, allocations: 3.938 kB / 1.531 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.7527, allocations: 123.8 kB / 1.531 GB, free: 14.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.7529, allocations: 77.16 kB / 1.531 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.753, allocations: 12 kB / 1.531 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.7548, allocations: 1.656 MB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7548, allocations: 4 kB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.7566, allocations: 1.058 MB / 1.534 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.757, allocations: 147.4 kB / 1.534 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7571, allocations: 12 kB / 1.534 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000676/0.7578, allocations: 34.09 kB / 1.534 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7579, allocations: 47.8 kB / 1.534 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.758, allocations: 31.98 kB / 1.534 GB, free: 11.08 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006061/0.7586, allocations: 455.1 kB / 1.535 GB, free: 10.64 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7586, allocations: 4 kB / 1.535 GB, free: 10.64 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009671/0.7595, allocations: 283.9 kB / 1.535 GB, free: 10.36 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000362/0.7599, allocations: 179.7 kB / 1.535 GB, free: 10.17 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.7613, allocations: 0.776 MB / 1.536 GB, free: 9.363 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.7613, allocations: 4 kB / 1.536 GB, free: 9.359 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006404/0.762, allocations: 411.6 kB / 1.536 GB, free: 8.945 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.7641, allocations: 0.4899 MB / 1.537 GB, free: 8.469 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.7672, allocations: 1.808 MB / 1.539 GB, free: 6.582 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.7678, allocations: 0.4884 MB / 1.539 GB, free: 6.062 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007037/0.7685, allocations: 194.3 kB / 1.539 GB, free: 5.867 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.7687, allocations: 55.44 kB / 1.539 GB, free: 5.812 MB / 1.232 GB Notification: Performance of SimCode: time 8.72e-07/0.7687, allocations: 0 / 1.539 GB, free: 5.812 MB / 1.232 GB Notification: Performance of Templates: time 0.03516/0.8038, allocations: 20.05 MB / 1.559 GB, free: 2.207 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.500494209001772]