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.001262/0.001262, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001319/0.001319, allocations: 217.9 kB / 22.25 MB, free: 4.852 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.956/2.956, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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="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: 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.001891/0.001891, allocations: 68.25 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2944, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1869/0.4814, allocations: 165.6 MB / 1.525 GB, free: 7.785 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.4965, allocations: 12.02 MB / 1.537 GB, free: 11.73 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.4975, allocations: 43.62 kB / 1.537 GB, free: 11.69 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.4987, allocations: 425.2 kB / 1.537 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.5016, allocations: 1.206 MB / 1.539 GB, free: 10.06 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.5033, allocations: 0.7287 MB / 1.539 GB, free: 9.336 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5058, allocations: 2.043 MB / 1.541 GB, free: 7.285 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000855/0.5067, allocations: 0.6138 MB / 1.542 GB, free: 6.645 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003834/0.5105, allocations: 2.004 MB / 1.544 GB, free: 4.633 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.512, allocations: 0.66 MB / 1.544 GB, free: 3.977 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.5122, allocations: 80 kB / 1.545 GB, free: 3.898 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.5138, allocations: 0.7209 MB / 1.545 GB, free: 3.176 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.5143, allocations: 398.8 kB / 1.546 GB, free: 2.785 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.5148, allocations: 418.1 kB / 1.546 GB, free: 2.375 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.5169, allocations: 1.491 MB / 1.547 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5169, allocations: 0 / 1.547 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5169, allocations: 0 / 1.547 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5169, allocations: 4 kB / 1.547 GB, free: 0.875 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001774/0.5187, allocations: 1.178 MB / 1.549 GB, free: 15.66 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5187, allocations: 8.031 kB / 1.549 GB, free: 15.66 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5188, allocations: 126.5 kB / 1.549 GB, free: 15.52 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5199, allocations: 219.2 kB / 1.549 GB, free: 15.31 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.5211, allocations: 0.6194 MB / 1.55 GB, free: 14.66 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.5212, allocations: 61.94 kB / 1.55 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5213, allocations: 76 kB / 1.55 GB, free: 14.53 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.5226, allocations: 1.054 MB / 1.551 GB, free: 13.36 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.5227, allocations: 4 kB / 1.551 GB, free: 13.36 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.5227, allocations: 39.92 kB / 1.551 GB, free: 13.32 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.5228, allocations: 33.23 kB / 1.551 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.5237, allocations: 0.6138 MB / 1.551 GB, free: 12.67 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.004009/0.5277, allocations: 3.738 MB / 1.555 GB, free: 8.789 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.5285, allocations: 448.2 kB / 1.555 GB, free: 8.324 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.5288, allocations: 240.6 kB / 1.556 GB, free: 8.082 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.529, allocations: 27.98 kB / 1.556 GB, free: 8.055 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.529, allocations: 38.56 kB / 1.556 GB, free: 8.008 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.529, allocations: 0 / 1.556 GB, free: 8.008 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.002552/0.5315, allocations: 1.551 MB / 1.557 GB, free: 6.418 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.5316, allocations: 110.8 kB / 1.557 GB, free: 6.285 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008167/0.5324, allocations: 0.7232 MB / 1.558 GB, free: 5.555 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.5325, allocations: 37.7 kB / 1.558 GB, free: 5.512 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.5328, allocations: 424.5 kB / 1.559 GB, free: 5.09 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.5329, allocations: 166.6 kB / 1.559 GB, free: 4.926 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.5331, allocations: 126.2 kB / 1.559 GB, free: 4.797 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5332, allocations: 326 kB / 1.559 GB, free: 4.473 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.5335, allocations: 189.2 kB / 1.559 GB, free: 4.289 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.5341, allocations: 0.5617 MB / 1.56 GB, free: 3.594 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.5363, allocations: 1.093 MB / 1.561 GB, free: 2.414 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5363, allocations: 4 kB / 1.561 GB, free: 2.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009989/0.5373, allocations: 0.6833 MB / 1.562 GB, free: 1.719 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5373, allocations: 8 kB / 1.562 GB, free: 1.711 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5373, allocations: 4.781 kB / 1.562 GB, free: 1.707 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.5373, allocations: 16.05 kB / 1.562 GB, free: 1.691 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.5378, allocations: 135.8 kB / 1.562 GB, free: 1.559 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.5378, allocations: 11.94 kB / 1.562 GB, free: 1.547 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.5383, allocations: 27.98 kB / 1.562 GB, free: 1.52 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.5384, allocations: 24 kB / 1.562 GB, free: 1.496 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: 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.0003359/0.5387, allocations: 273.5 kB / 1.562 GB, free: 1.219 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5388, allocations: 91.42 kB / 1.562 GB, free: 1.129 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.539, allocations: 91.66 kB / 1.562 GB, free: 1.039 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.539, allocations: 7.938 kB / 1.562 GB, free: 1.031 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.539, allocations: 0 / 1.562 GB, free: 1.031 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007325/0.5397, allocations: 0.7003 MB / 1.563 GB, free: 252 kB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.542, allocations: 1.529 MB / 1.564 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5421, allocations: 7.938 kB / 1.564 GB, free: 14.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.5425, allocations: 103.8 kB / 1.565 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.5425, allocations: 8 kB / 1.565 GB, free: 14.49 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.5425, allocations: 19.98 kB / 1.565 GB, free: 14.47 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5425, allocations: 4 kB / 1.565 GB, free: 14.47 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5425, allocations: 4 kB / 1.565 GB, free: 14.46 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5436, allocations: 0.869 MB / 1.565 GB, free: 13.53 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.5439, allocations: 131.5 kB / 1.566 GB, free: 13.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.544, allocations: 19.98 kB / 1.566 GB, free: 13.38 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.5444, allocations: 18.19 kB / 1.566 GB, free: 13.37 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.5445, allocations: 43.81 kB / 1.566 GB, free: 13.32 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.5445, allocations: 20 kB / 1.566 GB, free: 13.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006041/0.5451, allocations: 0.5068 MB / 1.566 GB, free: 12.8 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.5451, allocations: 0 / 1.566 GB, free: 12.8 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0006343/0.5458, allocations: 203.9 kB / 1.566 GB, free: 12.6 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.001653/0.5474, allocations: 1.48 MB / 1.568 GB, free: 11.06 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007331/0.5481, allocations: 465 kB / 1.568 GB, free: 10.61 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5481, allocations: 64 / 1.568 GB, free: 10.61 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.5484, allocations: 207.7 kB / 1.568 GB, free: 10.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.5503, allocations: 488.9 kB / 1.569 GB, free: 9.938 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/0.5585, allocations: 6.637 MB / 1.575 GB, free: 2.898 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.5589, allocations: 440.9 kB / 1.576 GB, free: 2.441 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005499/0.5595, allocations: 199 kB / 1.576 GB, free: 2.242 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.5599, allocations: 295.3 kB / 1.576 GB, free: 1.953 MB / 1.264 GB Notification: Performance of SimCode: time 5.11e-07/0.5599, allocations: 4 kB / 1.576 GB, free: 1.949 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/0.6167, allocations: 24.6 MB / 1.6 GB, free: 9.941 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.44, allocations: 7.969 kB / 1.6 GB, free: 9.934 MB / 1.295 GB " [Timeout remaining time 288] (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.040400325786322]