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.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.001311/0.001311, allocations: 106.4 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.001279/0.001279, 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.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.15/3.15, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 66.08 kB / 1.134 GB, free: 33.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3487, allocations: 173.9 MB / 1.304 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2212/0.57, allocations: 188 MB / 1.488 GB, free: 4.77 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.5875, allocations: 13.14 MB / 1.5 GB, free: 7.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.5886, allocations: 31.81 kB / 1.5 GB, free: 7.559 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.59, allocations: 441.1 kB / 1.501 GB, free: 7.125 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.5931, allocations: 1.198 MB / 1.502 GB, free: 5.922 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.5951, allocations: 0.7092 MB / 1.503 GB, free: 5.215 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002916/0.5981, allocations: 2.01 MB / 1.505 GB, free: 3.203 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.5991, allocations: 0.7028 MB / 1.505 GB, free: 2.477 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/0.6037, allocations: 2.004 MB / 1.507 GB, free: 476 kB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.6054, allocations: 0.7009 MB / 1.508 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.6056, allocations: 80 kB / 1.508 GB, free: 15.69 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.6075, allocations: 0.9081 MB / 1.509 GB, free: 14.78 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.6079, allocations: 390.9 kB / 1.509 GB, free: 14.4 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006346/0.6086, allocations: 0.4976 MB / 1.51 GB, free: 13.9 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.6109, allocations: 1.51 MB / 1.511 GB, free: 12.38 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6109, allocations: 0 / 1.511 GB, free: 12.38 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6109, allocations: 3.938 kB / 1.511 GB, free: 12.38 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.611, allocations: 8 kB / 1.511 GB, free: 12.37 MB / 1.217 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.002024/0.613, allocations: 1.257 MB / 1.513 GB, free: 11.06 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.613, allocations: 8.625 kB / 1.513 GB, free: 11.05 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.6132, allocations: 130.5 kB / 1.513 GB, free: 10.92 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6144, allocations: 223.1 kB / 1.513 GB, free: 10.7 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.6157, allocations: 0.6799 MB / 1.514 GB, free: 9.973 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.6158, allocations: 61.94 kB / 1.514 GB, free: 9.914 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.6159, allocations: 79.98 kB / 1.514 GB, free: 9.836 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6174, allocations: 0.9327 MB / 1.515 GB, free: 8.816 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.6174, allocations: 7.922 kB / 1.515 GB, free: 8.809 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.6174, allocations: 35.88 kB / 1.515 GB, free: 8.773 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.6175, allocations: 33.31 kB / 1.515 GB, free: 8.742 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.6185, allocations: 0.6177 MB / 1.515 GB, free: 8.125 MB / 1.217 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.005111/0.6236, allocations: 4.662 MB / 1.52 GB, free: 3.148 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/0.6245, allocations: 0.5217 MB / 1.52 GB, free: 2.582 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.6249, allocations: 228.7 kB / 1.521 GB, free: 2.352 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.6251, allocations: 113.1 kB / 1.521 GB, free: 2.223 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.6251, allocations: 42.56 kB / 1.521 GB, free: 2.172 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.6251, allocations: 0 / 1.521 GB, free: 2.172 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002992/0.6281, allocations: 1.614 MB / 1.522 GB, free: 0.5 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.6282, allocations: 110.8 kB / 1.522 GB, free: 376 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6293, allocations: 0.7156 MB / 1.523 GB, free: 15.64 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.6293, allocations: 37.7 kB / 1.523 GB, free: 15.59 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.6297, allocations: 416.6 kB / 1.524 GB, free: 15.18 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.6298, allocations: 170.5 kB / 1.524 GB, free: 15.02 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.63, allocations: 126.3 kB / 1.524 GB, free: 14.88 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6302, allocations: 330 kB / 1.524 GB, free: 14.55 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.6305, allocations: 185.2 kB / 1.524 GB, free: 14.38 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.631, allocations: 417 kB / 1.525 GB, free: 13.87 MB / 1.232 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.002417/0.6335, allocations: 1.181 MB / 1.526 GB, free: 12.59 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6335, allocations: 4 kB / 1.526 GB, free: 12.58 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001198/0.6347, allocations: 0.6839 MB / 1.527 GB, free: 11.89 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.6347, allocations: 8 kB / 1.527 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6347, allocations: 4 kB / 1.527 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.6347, allocations: 12 kB / 1.527 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.6352, allocations: 131.7 kB / 1.527 GB, free: 11.74 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.6352, allocations: 12 kB / 1.527 GB, free: 11.73 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.6358, allocations: 27.98 kB / 1.527 GB, free: 11.7 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.6359, allocations: 24 kB / 1.527 GB, free: 11.68 MB / 1.232 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.0004602/0.6363, allocations: 281.6 kB / 1.527 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.6365, allocations: 87.42 kB / 1.527 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.6367, allocations: 95.66 kB / 1.527 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6367, allocations: 4 kB / 1.527 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6367, allocations: 0 / 1.527 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008332/0.6376, allocations: 0.6911 MB / 1.528 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.6403, allocations: 1.651 MB / 1.529 GB, free: 8.672 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.6403, allocations: 4 kB / 1.529 GB, free: 8.668 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.6408, allocations: 99.77 kB / 1.53 GB, free: 8.57 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.6408, allocations: 4 kB / 1.53 GB, free: 8.566 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.6408, allocations: 16 kB / 1.53 GB, free: 8.551 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.6408, allocations: 12.48 kB / 1.53 GB, free: 8.539 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/0.6408, allocations: 11.94 kB / 1.53 GB, free: 8.527 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.6421, allocations: 0.8621 MB / 1.53 GB, free: 7.602 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.6424, allocations: 216.5 kB / 1.531 GB, free: 7.371 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6426, allocations: 16 kB / 1.531 GB, free: 7.355 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.643, allocations: 15.98 kB / 1.531 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.643, allocations: 39.84 kB / 1.531 GB, free: 7.301 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.6431, allocations: 23.98 kB / 1.531 GB, free: 7.277 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006861/0.6438, allocations: 0.5107 MB / 1.531 GB, free: 6.77 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6438, allocations: 0 / 1.531 GB, free: 6.77 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007715/0.6445, allocations: 203.9 kB / 1.531 GB, free: 6.57 MB / 1.232 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.001888/0.6464, allocations: 1.516 MB / 1.533 GB, free: 5 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008608/0.6473, allocations: 455.5 kB / 1.533 GB, free: 4.555 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6473, allocations: 5.5 kB / 1.533 GB, free: 4.551 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.6476, allocations: 204.3 kB / 1.534 GB, free: 4.352 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.6497, allocations: 477.3 kB / 1.534 GB, free: 3.898 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/0.6595, allocations: 6.646 MB / 1.54 GB, free: 12.85 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/0.6602, allocations: 1.032 MB / 1.542 GB, free: 11.79 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007231/0.661, allocations: 199 kB / 1.542 GB, free: 11.59 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.6614, allocations: 295.3 kB / 1.542 GB, free: 11.3 MB / 1.248 GB Notification: Performance of SimCode: time 1.423e-06/0.6614, allocations: 0 / 1.542 GB, free: 11.3 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.7219, allocations: 22.36 MB / 1.564 GB, free: 5.375 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.876/10.6, allocations: 11.66 kB / 1.564 GB, free: 5.363 MB / 1.264 GB " [Timeout remaining time 289] (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_2/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: 17.165079384110868]