Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001996/0.001996, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002531/0.002531, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.754/2.754, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.499e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2638/0.2639, allocations: 168.1 MB / 0.9506 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.2746, allocations: 5.398 MB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.2756, allocations: 55.56 kB / 0.9559 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.2772, allocations: 0.5512 MB / 0.9564 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.2817, allocations: 1.721 MB / 0.9581 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.2851, allocations: 1.254 MB / 0.9593 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.004402/0.2896, allocations: 2.583 MB / 0.9619 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.2908, allocations: 0.7398 MB / 0.9626 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.2939, allocations: 1.371 MB / 0.9639 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.2961, allocations: 0.7938 MB / 0.9647 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.2963, allocations: 103.9 kB / 0.9648 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.2995, allocations: 1.289 MB / 0.966 GB, free: 4.234 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006593/0.3001, allocations: 0.522 MB / 0.9666 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.3009, allocations: 455 kB / 0.967 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.3049, allocations: 2.142 MB / 0.9691 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3049, allocations: 0 / 0.9691 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3049, allocations: 4 kB / 0.9691 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.3049, allocations: 0 / 0.9691 GB, free: 1.109 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002736/0.3076, allocations: 1.418 MB / 0.9705 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3077, allocations: 8.031 kB / 0.9705 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.3098, allocations: 442.5 kB / 0.9709 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.3114, allocations: 0.7908 MB / 0.9717 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.3115, allocations: 66 kB / 0.9717 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.3117, allocations: 88 kB / 0.9718 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.314, allocations: 1.476 MB / 0.9733 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.314, allocations: 0 / 0.9733 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3141, allocations: 47.92 kB / 0.9733 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-05/0.3142, allocations: 34 kB / 0.9733 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.3158, allocations: 0.8274 MB / 0.9742 GB, free: 11.71 MB / 0.9323 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.005667/0.3215, allocations: 3.099 MB / 0.9772 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.3223, allocations: 350.7 kB / 0.9775 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.3226, allocations: 204.8 kB / 0.9777 GB, free: 7.98 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.3228, allocations: 23.92 kB / 0.9777 GB, free: 7.957 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3228, allocations: 38.56 kB / 0.9778 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.3228, allocations: 0 / 0.9778 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.002787/0.3256, allocations: 1.272 MB / 0.979 GB, free: 6.605 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3257, allocations: 55.41 kB / 0.9791 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3268, allocations: 0.7268 MB / 0.9798 GB, free: 5.801 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.3268, allocations: 37.7 kB / 0.9798 GB, free: 5.758 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.3273, allocations: 0.5152 MB / 0.9803 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.3275, allocations: 150.7 kB / 0.9805 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.3277, allocations: 122.2 kB / 0.9806 GB, free: 4.961 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004948/0.3282, allocations: 386.7 kB / 0.9809 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.3287, allocations: 233.2 kB / 0.9812 GB, free: 4.344 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.3294, allocations: 475.2 kB / 0.9816 GB, free: 3.797 MB / 0.9323 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.002708/0.3321, allocations: 1.138 MB / 0.9827 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3321, allocations: 4 kB / 0.9827 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00156/0.3337, allocations: 0.774 MB / 0.9835 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3337, allocations: 4 kB / 0.9835 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3337, allocations: 8 kB / 0.9835 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.3337, allocations: 8 kB / 0.9835 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.3343, allocations: 143.7 kB / 0.9836 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.3344, allocations: 12 kB / 0.9837 GB, free: 1.621 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.3352, allocations: 60.05 kB / 0.9837 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.3352, allocations: 31.98 kB / 0.9837 GB, free: 1.531 MB / 0.9323 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: 25 * 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 (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.0005104/0.3357, allocations: 313.5 kB / 0.984 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.3359, allocations: 91.53 kB / 0.9841 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.3361, allocations: 79 kB / 0.9842 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3361, allocations: 4 kB / 0.9842 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3361, allocations: 4 kB / 0.9842 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008462/0.3369, allocations: 0.6789 MB / 0.9849 GB, free: 272 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.3394, allocations: 1.356 MB / 0.9862 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3394, allocations: 4 kB / 0.9862 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.3398, allocations: 87.83 kB / 0.9863 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.3399, allocations: 4 kB / 0.9863 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3399, allocations: 16 kB / 0.9863 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.3399, allocations: 8 kB / 0.9863 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.3399, allocations: 8.375 kB / 0.9863 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3411, allocations: 0.8136 MB / 0.9871 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.3415, allocations: 147.4 kB / 0.9873 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.3415, allocations: 8 kB / 0.9873 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.3422, allocations: 39.91 kB / 0.9873 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.3422, allocations: 39.83 kB / 0.9873 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.3423, allocations: 23.98 kB / 0.9874 GB, free: 13.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001031/0.3433, allocations: 0.5029 MB / 0.9879 GB, free: 13.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3433, allocations: 0 / 0.9879 GB, free: 13.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000871/0.3442, allocations: 255.9 kB / 0.9881 GB, free: 12.82 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0003754/0.3446, allocations: 194 kB / 0.9883 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000986/0.3456, allocations: 0.4922 MB / 0.9888 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3456, allocations: 0 / 0.9888 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.3459, allocations: 181.7 kB / 0.9889 GB, free: 11.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.3479, allocations: 452.6 kB / 0.9894 GB, free: 11.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.3509, allocations: 1.746 MB / 0.9911 GB, free: 9.695 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.3515, allocations: 0.5032 MB / 0.9916 GB, free: 9.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007049/0.3522, allocations: 214.3 kB / 0.9918 GB, free: 8.945 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3524, allocations: 64.48 kB / 0.9918 GB, free: 8.883 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.3524, allocations: 0 / 0.9918 GB, free: 8.883 MB / 0.948 GB Notification: Performance of Templates: time 0.03138/0.3838, allocations: 15.69 MB / 1.007 GB, free: 9.598 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.136663609999232]