Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001223/0.001223, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00137/0.00137, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.98 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 2.873/2.873, allocations: 0.49 GB / 0.7951 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",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.00188/0.00188, allocations: 62.47 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2933, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2171/0.5104, allocations: 194.3 MB / 1.516 GB, free: 14.89 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009416/0.5199, allocations: 5.762 MB / 1.521 GB, free: 9.113 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.5211, allocations: 55.5 kB / 1.521 GB, free: 9.059 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.5228, allocations: 0.5864 MB / 1.522 GB, free: 8.469 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.5268, allocations: 1.7 MB / 1.524 GB, free: 6.762 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.5299, allocations: 1.255 MB / 1.525 GB, free: 5.512 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00343/0.5333, allocations: 2.577 MB / 1.527 GB, free: 2.926 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.5345, allocations: 0.7239 MB / 1.528 GB, free: 2.184 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.537, allocations: 1.242 MB / 1.529 GB, free: 0.9375 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.539, allocations: 0.8662 MB / 1.53 GB, free: 76 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.5393, allocations: 100 kB / 1.53 GB, free: 15.97 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.5424, allocations: 1.617 MB / 1.532 GB, free: 14.36 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006993/0.5431, allocations: 0.4908 MB / 1.532 GB, free: 13.86 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.5442, allocations: 0.6222 MB / 1.533 GB, free: 13.24 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.5478, allocations: 2.118 MB / 1.535 GB, free: 11.11 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5478, allocations: 4 kB / 1.535 GB, free: 11.11 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5478, allocations: 3.938 kB / 1.535 GB, free: 11.11 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.95e-05/0.5478, allocations: 0 / 1.535 GB, free: 11.11 MB / 1.232 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.003133/0.551, allocations: 1.43 MB / 1.536 GB, free: 9.637 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.551, allocations: 8.031 kB / 1.536 GB, free: 9.629 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/0.5513, allocations: 135.2 kB / 1.536 GB, free: 9.488 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.5533, allocations: 342.9 kB / 1.537 GB, free: 9.152 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.5548, allocations: 0.744 MB / 1.538 GB, free: 8.379 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.5549, allocations: 62 kB / 1.538 GB, free: 8.316 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.555, allocations: 84 kB / 1.538 GB, free: 8.234 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.5568, allocations: 1.074 MB / 1.539 GB, free: 7.121 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.5568, allocations: 7.938 kB / 1.539 GB, free: 7.113 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.5569, allocations: 39.98 kB / 1.539 GB, free: 7.074 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.557, allocations: 37.98 kB / 1.539 GB, free: 7.035 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.5585, allocations: 0.8352 MB / 1.54 GB, free: 6.199 MB / 1.232 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.005754/0.5642, allocations: 4.363 MB / 1.544 GB, free: 1.527 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.5648, allocations: 352.3 kB / 1.544 GB, free: 1.176 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.5651, allocations: 210.6 kB / 1.544 GB, free: 0.9688 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.5652, allocations: 23.98 kB / 1.544 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.5653, allocations: 42.56 kB / 1.544 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 1.814e-06/0.5653, allocations: 0 / 1.544 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002463/0.5677, allocations: 1.281 MB / 1.546 GB, free: 15.57 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.5678, allocations: 59.34 kB / 1.546 GB, free: 15.5 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.5691, allocations: 0.9928 MB / 1.547 GB, free: 14.49 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.5692, allocations: 37.7 kB / 1.547 GB, free: 14.45 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.5696, allocations: 0.4962 MB / 1.547 GB, free: 13.95 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.5697, allocations: 150.8 kB / 1.547 GB, free: 13.8 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.5699, allocations: 126.2 kB / 1.548 GB, free: 13.67 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5701, allocations: 330 kB / 1.548 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.5705, allocations: 233.2 kB / 1.548 GB, free: 13.12 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.5711, allocations: 428.6 kB / 1.548 GB, free: 12.62 MB / 1.248 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.002414/0.5735, allocations: 1.143 MB / 1.55 GB, free: 11.4 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5735, allocations: 4 kB / 1.55 GB, free: 11.39 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001341/0.5749, allocations: 0.7585 MB / 1.55 GB, free: 10.63 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5749, allocations: 8 kB / 1.55 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.5749, allocations: 16 kB / 1.55 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5749, allocations: 8 kB / 1.55 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.5755, allocations: 143.7 kB / 1.551 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.5755, allocations: 8 kB / 1.551 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008262/0.5763, allocations: 59.95 kB / 1.551 GB, free: 10.39 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.5764, allocations: 27.94 kB / 1.551 GB, free: 10.36 MB / 1.248 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.0004366/0.5768, allocations: 313.5 kB / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.577, allocations: 107.3 kB / 1.551 GB, free: 9.941 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.5772, allocations: 105 kB / 1.551 GB, free: 9.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5772, allocations: 4 kB / 1.551 GB, free: 9.836 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5772, allocations: 4 kB / 1.551 GB, free: 9.832 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000712/0.5779, allocations: 0.6713 MB / 1.552 GB, free: 9.074 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.5804, allocations: 1.553 MB / 1.553 GB, free: 7.422 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5804, allocations: 8.094 kB / 1.553 GB, free: 7.414 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.5808, allocations: 87.91 kB / 1.553 GB, free: 7.328 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.5808, allocations: 4 kB / 1.553 GB, free: 7.324 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.5808, allocations: 15.98 kB / 1.553 GB, free: 7.309 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.5808, allocations: 11.88 kB / 1.553 GB, free: 7.297 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5808, allocations: 4 kB / 1.553 GB, free: 7.293 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.5819, allocations: 0.8338 MB / 1.554 GB, free: 6.395 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.5823, allocations: 171.2 kB / 1.554 GB, free: 6.227 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.5824, allocations: 19.92 kB / 1.554 GB, free: 6.207 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.583, allocations: 42.03 kB / 1.554 GB, free: 6.168 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.5831, allocations: 31.89 kB / 1.554 GB, free: 6.137 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.5831, allocations: 23.98 kB / 1.555 GB, free: 6.113 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001005/0.5841, allocations: 0.7116 MB / 1.555 GB, free: 5.391 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5841, allocations: 3.938 kB / 1.555 GB, free: 5.387 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007577/0.5849, allocations: 255.9 kB / 1.555 GB, free: 5.137 MB / 1.248 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.00152/0.5864, allocations: 1.479 MB / 1.557 GB, free: 3.582 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008618/0.5872, allocations: 491.7 kB / 1.557 GB, free: 3.102 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5873, allocations: 4 kB / 1.557 GB, free: 3.098 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.5875, allocations: 177 kB / 1.558 GB, free: 2.926 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.5899, allocations: 0.6274 MB / 1.558 GB, free: 2.309 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.6003, allocations: 7.64 MB / 1.566 GB, free: 10.29 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.601, allocations: 1.095 MB / 1.567 GB, free: 9.168 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007532/0.6018, allocations: 256.4 kB / 1.567 GB, free: 8.914 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.6022, allocations: 343.3 kB / 1.567 GB, free: 8.578 MB / 1.264 GB Notification: Performance of SimCode: time 5.61e-07/0.6022, allocations: 0 / 1.567 GB, free: 8.578 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0652/0.6674, allocations: 28.47 MB / 1.595 GB, free: 12.55 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.21, allocations: 4.062 kB / 1.595 GB, free: 12.54 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.72323368000798]