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.001254/0.001254, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001328/0.001328, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.314/1.314, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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.886/2.886, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) [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.001789/0.001789, allocations: 66.47 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3038, allocations: 179 MB / 1.345 GB, free: 404 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2019/0.5056, allocations: 191.3 MB / 1.532 GB, free: 432 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.5211, allocations: 13.24 MB / 1.545 GB, free: 3.137 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000981/0.5221, allocations: 43.62 kB / 1.545 GB, free: 3.094 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5233, allocations: 445.1 kB / 1.546 GB, free: 2.656 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.5259, allocations: 1.221 MB / 1.547 GB, free: 1.43 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.5276, allocations: 0.7292 MB / 1.547 GB, free: 0.7031 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.53, allocations: 2.059 MB / 1.549 GB, free: 14.63 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.5308, allocations: 0.6293 MB / 1.55 GB, free: 13.98 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.5347, allocations: 2.055 MB / 1.552 GB, free: 11.92 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.5361, allocations: 0.698 MB / 1.553 GB, free: 11.23 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.5362, allocations: 80 kB / 1.553 GB, free: 11.15 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.5378, allocations: 0.9237 MB / 1.554 GB, free: 10.23 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.5382, allocations: 402.8 kB / 1.554 GB, free: 9.832 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.5387, allocations: 0.4976 MB / 1.555 GB, free: 9.332 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.5408, allocations: 1.506 MB / 1.556 GB, free: 7.82 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5408, allocations: 3.938 kB / 1.556 GB, free: 7.816 MB / 1.248 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5408, allocations: 0 / 1.556 GB, free: 7.816 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.5408, allocations: 0 / 1.556 GB, free: 7.816 MB / 1.248 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.001803/0.5426, allocations: 1.186 MB / 1.557 GB, free: 6.594 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5426, allocations: 8.031 kB / 1.557 GB, free: 6.586 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.458e-05/0.5426, allocations: 22 kB / 1.557 GB, free: 6.566 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5428, allocations: 126.5 kB / 1.557 GB, free: 6.434 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.5439, allocations: 215.2 kB / 1.558 GB, free: 6.223 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.545, allocations: 0.6116 MB / 1.558 GB, free: 5.582 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.5451, allocations: 62 kB / 1.558 GB, free: 5.523 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.5452, allocations: 80 kB / 1.558 GB, free: 5.445 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5465, allocations: 0.9333 MB / 1.559 GB, free: 4.426 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5465, allocations: 3.938 kB / 1.559 GB, free: 4.422 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.5466, allocations: 36 kB / 1.559 GB, free: 4.387 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.5466, allocations: 29.31 kB / 1.559 GB, free: 4.359 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009713/0.5476, allocations: 0.6177 MB / 1.56 GB, free: 3.742 MB / 1.248 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.004414/0.552, allocations: 4.61 MB / 1.564 GB, free: 14.82 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.5528, allocations: 460.1 kB / 1.565 GB, free: 14.35 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.5531, allocations: 242.4 kB / 1.565 GB, free: 14.1 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.5532, allocations: 20.67 kB / 1.565 GB, free: 14.08 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5533, allocations: 46.44 kB / 1.565 GB, free: 14.03 MB / 1.264 GB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.5533, allocations: 4 kB / 1.565 GB, free: 14.02 MB / 1.264 GB Notification: Performance of matching and sorting (n=45): time 0.00265/0.5559, allocations: 1.545 MB / 1.567 GB, free: 12.44 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.556, allocations: 110.8 kB / 1.567 GB, free: 12.31 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/0.5568, allocations: 0.7158 MB / 1.567 GB, free: 11.59 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.5569, allocations: 33.7 kB / 1.567 GB, free: 11.55 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.5572, allocations: 432.5 kB / 1.568 GB, free: 11.12 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.5573, allocations: 162.6 kB / 1.568 GB, free: 10.96 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.5575, allocations: 122.3 kB / 1.568 GB, free: 10.83 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5577, allocations: 330 kB / 1.568 GB, free: 10.5 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.558, allocations: 185.2 kB / 1.569 GB, free: 10.32 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.5585, allocations: 424.9 kB / 1.569 GB, free: 9.812 MB / 1.264 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.002147/0.5606, allocations: 1.099 MB / 1.57 GB, free: 8.629 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5606, allocations: 0 / 1.57 GB, free: 8.629 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001013/0.5616, allocations: 0.6796 MB / 1.571 GB, free: 7.941 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5616, allocations: 8 kB / 1.571 GB, free: 7.934 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5616, allocations: 4 kB / 1.571 GB, free: 7.93 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.5617, allocations: 12 kB / 1.571 GB, free: 7.918 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.5621, allocations: 120.5 kB / 1.571 GB, free: 7.801 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.5621, allocations: 23.92 kB / 1.571 GB, free: 7.777 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.5626, allocations: 29.48 kB / 1.571 GB, free: 7.75 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.5627, allocations: 28 kB / 1.571 GB, free: 7.723 MB / 1.264 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.0003675/0.563, allocations: 269.8 kB / 1.571 GB, free: 7.449 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.5632, allocations: 87.42 kB / 1.571 GB, free: 7.363 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.5633, allocations: 91.66 kB / 1.571 GB, free: 7.273 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5634, allocations: 7.938 kB / 1.571 GB, free: 7.266 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5634, allocations: 0 / 1.571 GB, free: 7.266 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007211/0.5641, allocations: 0.7041 MB / 1.572 GB, free: 6.477 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.5664, allocations: 1.617 MB / 1.574 GB, free: 4.758 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5664, allocations: 8.438 kB / 1.574 GB, free: 4.75 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.5669, allocations: 99.89 kB / 1.574 GB, free: 4.652 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.5669, allocations: 4 kB / 1.574 GB, free: 4.648 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.5669, allocations: 16.06 kB / 1.574 GB, free: 4.633 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.5669, allocations: 19.92 kB / 1.574 GB, free: 4.613 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5669, allocations: 4.094 kB / 1.574 GB, free: 4.609 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.568, allocations: 0.8728 MB / 1.575 GB, free: 3.672 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.5683, allocations: 131.4 kB / 1.575 GB, free: 3.543 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.5683, allocations: 15.98 kB / 1.575 GB, free: 3.527 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.5688, allocations: 19.94 kB / 1.575 GB, free: 3.508 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.5688, allocations: 43.88 kB / 1.575 GB, free: 3.465 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.5689, allocations: 16 kB / 1.575 GB, free: 3.449 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006002/0.5695, allocations: 0.5107 MB / 1.575 GB, free: 2.941 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.5695, allocations: 3.938 kB / 1.575 GB, free: 2.938 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0006727/0.5701, allocations: 203.9 kB / 1.576 GB, free: 2.738 MB / 1.264 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.001623/0.5717, allocations: 1.477 MB / 1.577 GB, free: 1.195 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007635/0.5725, allocations: 468.5 kB / 1.578 GB, free: 0.7383 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5725, allocations: 4 kB / 1.578 GB, free: 0.7344 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.5728, allocations: 208.2 kB / 1.578 GB, free: 0.5312 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.5747, allocations: 479.8 kB / 1.578 GB, free: 76 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0083/0.583, allocations: 6.637 MB / 1.585 GB, free: 9.031 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.5837, allocations: 1.032 MB / 1.586 GB, free: 7.973 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0006067/0.5843, allocations: 211 kB / 1.586 GB, free: 7.762 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.5847, allocations: 295.3 kB / 1.586 GB, free: 7.473 MB / 1.279 GB Notification: Performance of SimCode: time 6.81e-07/0.5847, allocations: 0 / 1.586 GB, free: 7.473 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/0.6352, allocations: 22.8 MB / 1.608 GB, free: 1.047 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.1, allocations: 0 / 1.608 GB, free: 1.047 MB / 1.295 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 840.0] 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: 18.717462093976792]