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.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.001573/0.001573, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.002307/0.002307, allocations: 191.8 kB / 19.41 MB, free: 3.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.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.886/2.886, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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.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 0.002135/0.002135, allocations: 67.88 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8793, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2474/1.127, allocations: 187.9 MB / 1.452 GB, free: 8.543 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02017/1.147, allocations: 13.14 MB / 1.465 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/1.148, allocations: 31.81 kB / 1.465 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/1.15, allocations: 445.1 kB / 1.466 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003261/1.153, allocations: 1.202 MB / 1.467 GB, free: 9.688 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/1.155, allocations: 0.7113 MB / 1.467 GB, free: 8.98 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003025/1.158, allocations: 2.02 MB / 1.469 GB, free: 6.953 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/1.159, allocations: 0.7028 MB / 1.47 GB, free: 6.227 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/1.164, allocations: 1.868 MB / 1.472 GB, free: 4.352 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/1.165, allocations: 0.7081 MB / 1.473 GB, free: 3.645 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002495/1.166, allocations: 80 kB / 1.473 GB, free: 3.566 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/1.168, allocations: 0.9197 MB / 1.474 GB, free: 2.645 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006079/1.169, allocations: 398.9 kB / 1.474 GB, free: 2.254 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/1.17, allocations: 0.4976 MB / 1.474 GB, free: 1.754 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/1.173, allocations: 1.51 MB / 1.476 GB, free: 244 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.173, allocations: 0 / 1.476 GB, free: 244 kB / 1.17 GB Notification: Performance of FrontEnd: time 3.898e-06/1.173, allocations: 0 / 1.476 GB, free: 244 kB / 1.17 GB Notification: Performance of Transformations before backend: time 6.89e-05/1.173, allocations: 0 / 1.476 GB, free: 244 kB / 1.17 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.003122/1.176, allocations: 1.261 MB / 1.477 GB, free: 14.92 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.176, allocations: 12.03 kB / 1.477 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/1.177, allocations: 118.5 kB / 1.477 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.178, allocations: 227.1 kB / 1.478 GB, free: 14.56 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/1.18, allocations: 0.6837 MB / 1.478 GB, free: 13.83 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/1.18, allocations: 58 kB / 1.478 GB, free: 13.78 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.18, allocations: 80 kB / 1.478 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/1.182, allocations: 0.9287 MB / 1.479 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/1.182, allocations: 7.938 kB / 1.479 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/1.182, allocations: 39.94 kB / 1.479 GB, free: 12.64 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/1.182, allocations: 33.3 kB / 1.479 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/1.183, allocations: 0.6138 MB / 1.48 GB, free: 11.99 MB / 1.186 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.006244/1.189, allocations: 4.602 MB / 1.484 GB, free: 7.098 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/1.19, allocations: 0.5227 MB / 1.485 GB, free: 6.531 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/1.191, allocations: 235.6 kB / 1.485 GB, free: 6.293 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/1.191, allocations: 97.09 kB / 1.485 GB, free: 6.18 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.191, allocations: 46.56 kB / 1.485 GB, free: 6.125 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/1.191, allocations: 0 / 1.485 GB, free: 6.125 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003396/1.194, allocations: 1.617 MB / 1.487 GB, free: 4.453 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/1.194, allocations: 110.8 kB / 1.487 GB, free: 4.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/1.195, allocations: 0.7119 MB / 1.488 GB, free: 3.602 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/1.195, allocations: 41.7 kB / 1.488 GB, free: 3.555 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/1.196, allocations: 424.5 kB / 1.488 GB, free: 3.133 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/1.196, allocations: 170.5 kB / 1.488 GB, free: 2.965 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/1.196, allocations: 122.2 kB / 1.488 GB, free: 2.836 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.196, allocations: 334 kB / 1.489 GB, free: 2.504 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/1.197, allocations: 181.2 kB / 1.489 GB, free: 2.328 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/1.197, allocations: 429 kB / 1.489 GB, free: 1.812 MB / 1.186 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.002542/1.2, allocations: 1.186 MB / 1.49 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.2, allocations: 0 / 1.49 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00121/1.201, allocations: 0.6757 MB / 1.491 GB, free: 15.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.201, allocations: 8 kB / 1.491 GB, free: 15.83 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.201, allocations: 4 kB / 1.491 GB, free: 15.83 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/1.201, allocations: 12.72 kB / 1.491 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/1.202, allocations: 119.9 kB / 1.491 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/1.202, allocations: 23.92 kB / 1.491 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/1.202, allocations: 24 kB / 1.491 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/1.202, allocations: 35.91 kB / 1.491 GB, free: 15.62 MB / 1.201 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.0004242/1.203, allocations: 273.5 kB / 1.492 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/1.203, allocations: 87.42 kB / 1.492 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/1.203, allocations: 91.67 kB / 1.492 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.203, allocations: 4 kB / 1.492 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.203, allocations: 0 / 1.492 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009713/1.204, allocations: 0.6989 MB / 1.492 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/1.207, allocations: 1.646 MB / 1.494 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/1.207, allocations: 4.5 kB / 1.494 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/1.208, allocations: 107.8 kB / 1.494 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/1.208, allocations: 4 kB / 1.494 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/1.208, allocations: 16 kB / 1.494 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/1.208, allocations: 8 kB / 1.494 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.208, allocations: 7.938 kB / 1.494 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/1.209, allocations: 0.8691 MB / 1.495 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/1.21, allocations: 208.5 kB / 1.495 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.21, allocations: 15.98 kB / 1.495 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/1.21, allocations: 20.12 kB / 1.495 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/1.21, allocations: 43.83 kB / 1.495 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/1.21, allocations: 24 kB / 1.495 GB, free: 11.21 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006979/1.211, allocations: 0.5107 MB / 1.496 GB, free: 10.71 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.211, allocations: 0 / 1.496 GB, free: 10.71 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007611/1.212, allocations: 200 kB / 1.496 GB, free: 10.51 MB / 1.201 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.00212/1.214, allocations: 1.507 MB / 1.497 GB, free: 8.945 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008866/1.215, allocations: 464.8 kB / 1.498 GB, free: 8.492 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.215, allocations: 0 / 1.498 GB, free: 8.492 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/1.215, allocations: 203.6 kB / 1.498 GB, free: 8.293 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.217, allocations: 487.5 kB / 1.499 GB, free: 7.832 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.228, allocations: 6.635 MB / 1.505 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009944/1.229, allocations: 1.028 MB / 1.506 GB, free: 15.74 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007786/1.23, allocations: 199 kB / 1.506 GB, free: 15.54 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/1.23, allocations: 299.3 kB / 1.507 GB, free: 15.25 MB / 1.217 GB Notification: Performance of SimCode: time 9.81e-07/1.23, allocations: 0 / 1.507 GB, free: 15.25 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0633/1.294, allocations: 22.36 MB / 1.528 GB, free: 9.301 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.986/11.28, allocations: 0.6094 kB / 1.528 GB, free: 9.301 MB / 1.232 GB " [Timeout remaining time 289] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.58990864502266]