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.0008871/0.0008871, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009842/0.0009842, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.648e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.608/0.608, allocations: 165.4 MB / 1.112 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.6192, allocations: 11.98 MB / 1.124 GB, free: 26.91 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.6205, allocations: 44.16 kB / 1.124 GB, free: 26.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.6217, allocations: 426.6 kB / 1.124 GB, free: 26.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.6241, allocations: 1.241 MB / 1.125 GB, free: 25.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.6257, allocations: 0.779 MB / 1.126 GB, free: 25.52 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.6279, allocations: 2.044 MB / 1.128 GB, free: 24.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007368/0.6286, allocations: 0.6156 MB / 1.129 GB, free: 24.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.6317, allocations: 2.094 MB / 1.131 GB, free: 23.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.6331, allocations: 0.62 MB / 1.131 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.6332, allocations: 80.84 kB / 1.132 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.6347, allocations: 0.7459 MB / 1.132 GB, free: 22.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.6351, allocations: 413.9 kB / 1.133 GB, free: 22.68 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.6355, allocations: 353.9 kB / 1.133 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.6378, allocations: 1.511 MB / 1.134 GB, free: 22 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6378, allocations: 0.7969 kB / 1.134 GB, free: 22 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6378, allocations: 4 kB / 1.134 GB, free: 22 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.428e-05/0.6378, allocations: 0 / 1.134 GB, free: 22 MB / 0.9948 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.001747/0.6396, allocations: 1.18 MB / 1.136 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.6396, allocations: 10.53 kB / 1.136 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.6397, allocations: 118.9 kB / 1.136 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000827/0.6406, allocations: 226.6 kB / 1.136 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/0.6415, allocations: 0.6183 MB / 1.137 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.6415, allocations: 57 kB / 1.137 GB, free: 20.63 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.776e-05/0.6416, allocations: 75.28 kB / 1.137 GB, free: 20.61 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.6427, allocations: 1.052 MB / 1.138 GB, free: 19.95 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6427, allocations: 6.234 kB / 1.138 GB, free: 19.95 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.6428, allocations: 33.72 kB / 1.138 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/0.6428, allocations: 27.05 kB / 1.138 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008932/0.6437, allocations: 0.626 MB / 1.138 GB, free: 19.7 MB / 0.9948 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.00291/0.6466, allocations: 3.724 MB / 1.142 GB, free: 16.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.6473, allocations: 465.9 kB / 1.142 GB, free: 16.55 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.6475, allocations: 228.3 kB / 1.143 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.6476, allocations: 26.36 kB / 1.143 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.6477, allocations: 40.31 kB / 1.143 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.6477, allocations: 0 / 1.143 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=45): time 0.00225/0.6499, allocations: 1.542 MB / 1.144 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.65, allocations: 117.2 kB / 1.144 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/0.6507, allocations: 0.7187 MB / 1.145 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.6507, allocations: 37.14 kB / 1.145 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.6509, allocations: 423.4 kB / 1.146 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.494e-05/0.651, allocations: 167.7 kB / 1.146 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.6511, allocations: 119.2 kB / 1.146 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.6511, allocations: 331.9 kB / 1.146 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.6514, allocations: 183 kB / 1.146 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.6517, allocations: 0.5618 MB / 1.147 GB, free: 13.64 MB / 0.9948 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.001528/0.6532, allocations: 1.103 MB / 1.148 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6532, allocations: 2.062 kB / 1.148 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007595/0.654, allocations: 0.6734 MB / 1.149 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.654, allocations: 9.281 kB / 1.149 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.654, allocations: 6.281 kB / 1.149 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.654, allocations: 18.19 kB / 1.149 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.6543, allocations: 127.3 kB / 1.149 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.6543, allocations: 20.23 kB / 1.149 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.6547, allocations: 28.55 kB / 1.149 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.6547, allocations: 36.02 kB / 1.149 GB, free: 12.72 MB / 0.9948 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.0002943/0.655, allocations: 269.3 kB / 1.149 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.6551, allocations: 87.52 kB / 1.149 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.6552, allocations: 88.41 kB / 1.149 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.6552, allocations: 13.09 kB / 1.149 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6553, allocations: 1.125 kB / 1.149 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004449/0.6557, allocations: 0.699 MB / 1.15 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.6573, allocations: 1.513 MB / 1.151 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6573, allocations: 5.531 kB / 1.151 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.6576, allocations: 100.5 kB / 1.152 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6576, allocations: 6.031 kB / 1.152 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.6576, allocations: 17.28 kB / 1.152 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.6576, allocations: 11.31 kB / 1.152 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6576, allocations: 8.562 kB / 1.152 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.6584, allocations: 0.8618 MB / 1.152 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.6586, allocations: 134.7 kB / 1.153 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.6586, allocations: 12.81 kB / 1.153 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.6589, allocations: 21.84 kB / 1.153 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.6589, allocations: 37.88 kB / 1.153 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.6589, allocations: 24.3 kB / 1.153 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004574/0.6594, allocations: 0.5147 MB / 1.153 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6594, allocations: 0 / 1.153 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005571/0.6599, allocations: 201.8 kB / 1.153 GB, free: 10.06 MB / 0.9948 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.001077/0.661, allocations: 1.495 MB / 1.155 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.6616, allocations: 463.6 kB / 1.155 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6616, allocations: 5.062 kB / 1.155 GB, free: 8.816 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.6618, allocations: 197 kB / 1.155 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.663, allocations: 489.7 kB / 1.156 GB, free: 8.617 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/0.6697, allocations: 6.558 MB / 1.162 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.67, allocations: 444 kB / 1.163 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0006201/0.6706, allocations: 198.7 kB / 1.163 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.6709, allocations: 300.1 kB / 1.163 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of SimCode: time 1.193e-06/0.6709, allocations: 0 / 1.163 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.7114, allocations: 24.62 MB / 1.187 GB, free: 13.09 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.498, allocations: 3.25 kB / 1.187 GB, free: 13.09 MB / 1.01 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] 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: 12.510168661363423]