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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 111.3 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 72.08 kB / 1.107 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.141, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.265/1.406, allocations: 191.3 MB / 1.458 GB, free: 5.281 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01178/1.418, allocations: 5.735 MB / 1.464 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/1.42, allocations: 43.75 kB / 1.464 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/1.422, allocations: 0.5942 MB / 1.465 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005653/1.427, allocations: 1.668 MB / 1.466 GB, free: 13.22 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/1.431, allocations: 1.224 MB / 1.467 GB, free: 12 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004338/1.435, allocations: 2.536 MB / 1.47 GB, free: 9.465 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/1.437, allocations: 0.7154 MB / 1.471 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/1.439, allocations: 1.066 MB / 1.472 GB, free: 7.66 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/1.441, allocations: 0.8727 MB / 1.472 GB, free: 6.789 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/1.441, allocations: 104 kB / 1.473 GB, free: 6.688 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/1.445, allocations: 1.602 MB / 1.474 GB, free: 5.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006725/1.446, allocations: 0.4986 MB / 1.475 GB, free: 4.582 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00092/1.447, allocations: 0.6261 MB / 1.475 GB, free: 3.953 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004149/1.451, allocations: 2.114 MB / 1.477 GB, free: 1.832 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.451, allocations: 0 / 1.477 GB, free: 1.832 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.184e-06/1.451, allocations: 0 / 1.477 GB, free: 1.832 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.017e-05/1.451, allocations: 0 / 1.477 GB, free: 1.832 MB / 1.154 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.002735/1.454, allocations: 1.521 MB / 1.479 GB, free: 248 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.454, allocations: 8.031 kB / 1.479 GB, free: 240 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/1.454, allocations: 135.2 kB / 1.479 GB, free: 96 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/1.456, allocations: 334.9 kB / 1.479 GB, free: 15.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.457, allocations: 0.8162 MB / 1.48 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/1.457, allocations: 66 kB / 1.48 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/1.458, allocations: 87.98 kB / 1.48 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/1.459, allocations: 1.071 MB / 1.481 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.459, allocations: 3.938 kB / 1.481 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/1.46, allocations: 40 kB / 1.481 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/1.46, allocations: 33.98 kB / 1.481 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/1.461, allocations: 0.8275 MB / 1.482 GB, free: 12.74 MB / 1.17 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.006297/1.468, allocations: 4.267 MB / 1.486 GB, free: 8.199 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/1.468, allocations: 358.7 kB / 1.487 GB, free: 7.84 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/1.469, allocations: 200.8 kB / 1.487 GB, free: 7.641 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/1.469, allocations: 105.1 kB / 1.487 GB, free: 7.52 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.469, allocations: 42.55 kB / 1.487 GB, free: 7.469 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 2.344e-06/1.469, allocations: 0 / 1.487 GB, free: 7.469 MB / 1.17 GB Notification: Performance of matching and sorting (n=38): time 0.002855/1.472, allocations: 1.349 MB / 1.488 GB, free: 6.066 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/1.472, allocations: 59.39 kB / 1.488 GB, free: 5.996 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/1.473, allocations: 0.9966 MB / 1.489 GB, free: 4.977 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/1.473, allocations: 41.7 kB / 1.489 GB, free: 4.93 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/1.474, allocations: 0.4924 MB / 1.49 GB, free: 4.434 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.474, allocations: 146.8 kB / 1.49 GB, free: 4.289 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/1.474, allocations: 130.2 kB / 1.49 GB, free: 4.156 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.474, allocations: 330 kB / 1.49 GB, free: 3.828 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/1.475, allocations: 241.2 kB / 1.491 GB, free: 3.59 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/1.476, allocations: 423.8 kB / 1.491 GB, free: 3.102 MB / 1.17 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.002722/1.478, allocations: 1.218 MB / 1.492 GB, free: 1.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.478, allocations: 0 / 1.492 GB, free: 1.785 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001537/1.48, allocations: 0.7662 MB / 1.493 GB, free: 1.012 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.48, allocations: 8 kB / 1.493 GB, free: 1.004 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.48, allocations: 15.88 kB / 1.493 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.48, allocations: 8 kB / 1.493 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/1.481, allocations: 143.7 kB / 1.493 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/1.481, allocations: 15.94 kB / 1.493 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/1.481, allocations: 60.09 kB / 1.493 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/1.481, allocations: 24 kB / 1.493 GB, free: 0.7422 MB / 1.17 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.0005477/1.482, allocations: 315.6 kB / 1.494 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/1.482, allocations: 103.4 kB / 1.494 GB, free: 332 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/1.482, allocations: 113 kB / 1.494 GB, free: 216 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.482, allocations: 4 kB / 1.494 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.482, allocations: 0 / 1.494 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008924/1.483, allocations: 0.6752 MB / 1.494 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/1.486, allocations: 1.578 MB / 1.496 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.486, allocations: 4 kB / 1.496 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/1.486, allocations: 87.89 kB / 1.496 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/1.486, allocations: 4 kB / 1.496 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.486, allocations: 15.94 kB / 1.496 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/1.486, allocations: 12 kB / 1.496 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.486, allocations: 7.984 kB / 1.496 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.488, allocations: 0.8382 MB / 1.497 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/1.488, allocations: 240.5 kB / 1.497 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.488, allocations: 19.94 kB / 1.497 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/1.489, allocations: 39.27 kB / 1.497 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/1.489, allocations: 31.89 kB / 1.497 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/1.489, allocations: 35.92 kB / 1.497 GB, free: 12.36 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001126/1.49, allocations: 0.7077 MB / 1.498 GB, free: 11.64 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.49, allocations: 0 / 1.498 GB, free: 11.64 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009507/1.491, allocations: 255.9 kB / 1.498 GB, free: 11.39 MB / 1.186 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.001972/1.493, allocations: 1.493 MB / 1.5 GB, free: 9.824 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001064/1.494, allocations: 488.4 kB / 1.5 GB, free: 9.348 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.494, allocations: 4.375 kB / 1.5 GB, free: 9.344 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/1.494, allocations: 179.7 kB / 1.5 GB, free: 9.168 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.497, allocations: 0.627 MB / 1.501 GB, free: 8.555 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.509, allocations: 7.641 MB / 1.508 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/1.51, allocations: 1.095 MB / 1.509 GB, free: 15.41 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009669/1.511, allocations: 252.3 kB / 1.51 GB, free: 15.16 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/1.511, allocations: 347.3 kB / 1.51 GB, free: 14.82 MB / 1.201 GB Notification: Performance of SimCode: time 9.72e-07/1.511, allocations: 3.938 kB / 1.51 GB, free: 14.82 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/1.581, allocations: 27.93 MB / 1.537 GB, free: 3.273 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.82, allocations: 7.922 kB / 1.537 GB, free: 3.266 MB / 1.217 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.996329849993344]