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.001229/0.001229, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001337/0.001337, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.388/1.388, allocations: 230.6 MB / 252.8 MB, free: 9.105 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 3.049/3.049, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.001963/0.001963, allocations: 72.95 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3385, allocations: 176.1 MB / 1.321 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2259/0.5644, allocations: 194 MB / 1.51 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.5744, allocations: 5.722 MB / 1.516 GB, free: 10.81 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.5757, allocations: 51.56 kB / 1.516 GB, free: 10.76 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.5775, allocations: 0.602 MB / 1.516 GB, free: 10.15 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.5817, allocations: 1.671 MB / 1.518 GB, free: 8.477 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.585, allocations: 1.221 MB / 1.519 GB, free: 7.262 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003607/0.5886, allocations: 2.508 MB / 1.522 GB, free: 4.746 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.5901, allocations: 0.8247 MB / 1.523 GB, free: 3.902 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.5928, allocations: 1.242 MB / 1.524 GB, free: 2.656 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.5949, allocations: 0.8669 MB / 1.525 GB, free: 1.793 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.5953, allocations: 100 kB / 1.525 GB, free: 1.695 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.5985, allocations: 1.59 MB / 1.526 GB, free: 104 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007871/0.5993, allocations: 0.4948 MB / 1.527 GB, free: 15.6 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.6005, allocations: 0.6183 MB / 1.527 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004222/0.6048, allocations: 2.118 MB / 1.529 GB, free: 12.86 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6048, allocations: 0 / 1.529 GB, free: 12.86 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6048, allocations: 0 / 1.529 GB, free: 12.86 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.075e-05/0.6048, allocations: 0 / 1.529 GB, free: 12.86 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.00316/0.608, allocations: 1.509 MB / 1.531 GB, free: 11.29 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.608, allocations: 15.98 kB / 1.531 GB, free: 11.28 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.6083, allocations: 139.2 kB / 1.531 GB, free: 11.13 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.6104, allocations: 338.9 kB / 1.531 GB, free: 10.8 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.612, allocations: 0.8201 MB / 1.532 GB, free: 9.941 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.612, allocations: 66 kB / 1.532 GB, free: 9.875 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.6122, allocations: 84 kB / 1.532 GB, free: 9.793 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.6142, allocations: 1.078 MB / 1.533 GB, free: 8.676 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.6142, allocations: 0 / 1.533 GB, free: 8.676 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.6143, allocations: 39.98 kB / 1.533 GB, free: 8.637 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.6144, allocations: 34 kB / 1.533 GB, free: 8.602 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.6161, allocations: 0.8275 MB / 1.534 GB, free: 7.773 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.006811/0.6229, allocations: 4.414 MB / 1.539 GB, free: 3.051 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.6236, allocations: 358.6 kB / 1.539 GB, free: 2.691 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.6239, allocations: 200.8 kB / 1.539 GB, free: 2.492 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.6241, allocations: 101.1 kB / 1.539 GB, free: 2.375 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.6241, allocations: 54.42 kB / 1.539 GB, free: 2.312 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 4.499e-06/0.6241, allocations: 3.984 kB / 1.539 GB, free: 2.309 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002825/0.627, allocations: 1.345 MB / 1.541 GB, free: 0.9102 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.627, allocations: 59.39 kB / 1.541 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.6286, allocations: 1.004 MB / 1.542 GB, free: 15.81 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.6287, allocations: 33.7 kB / 1.542 GB, free: 15.77 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.6291, allocations: 0.5002 MB / 1.542 GB, free: 15.27 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.6292, allocations: 150.7 kB / 1.542 GB, free: 15.12 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.6295, allocations: 122.2 kB / 1.542 GB, free: 15 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6296, allocations: 334 kB / 1.543 GB, free: 14.66 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.6301, allocations: 237.2 kB / 1.543 GB, free: 14.43 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.6308, allocations: 423.8 kB / 1.543 GB, free: 13.94 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.002612/0.6334, allocations: 1.21 MB / 1.545 GB, free: 12.63 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.6334, allocations: 0 / 1.545 GB, free: 12.63 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001553/0.6349, allocations: 0.7699 MB / 1.545 GB, free: 11.86 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.635, allocations: 4 kB / 1.545 GB, free: 11.85 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.635, allocations: 11.94 kB / 1.545 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.635, allocations: 8 kB / 1.545 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.6356, allocations: 148.1 kB / 1.545 GB, free: 11.69 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.6356, allocations: 15.94 kB / 1.545 GB, free: 11.67 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/0.6365, allocations: 47.95 kB / 1.545 GB, free: 11.62 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.6366, allocations: 28 kB / 1.546 GB, free: 11.6 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.0004781/0.637, allocations: 313.5 kB / 1.546 GB, free: 11.28 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.6372, allocations: 107.3 kB / 1.546 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.6375, allocations: 109 kB / 1.546 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6375, allocations: 4 kB / 1.546 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6375, allocations: 0 / 1.546 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007778/0.6382, allocations: 0.6791 MB / 1.547 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.6409, allocations: 1.573 MB / 1.548 GB, free: 8.621 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6409, allocations: 4 kB / 1.548 GB, free: 8.617 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.6414, allocations: 91.83 kB / 1.548 GB, free: 8.527 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.6414, allocations: 8.5 kB / 1.548 GB, free: 8.52 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.6414, allocations: 16 kB / 1.548 GB, free: 8.504 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.6414, allocations: 15.86 kB / 1.548 GB, free: 8.488 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.6414, allocations: 11.94 kB / 1.548 GB, free: 8.477 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.6426, allocations: 0.8315 MB / 1.549 GB, free: 7.582 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.643, allocations: 240.4 kB / 1.549 GB, free: 7.328 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6432, allocations: 23.92 kB / 1.549 GB, free: 7.305 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/0.6439, allocations: 35.91 kB / 1.549 GB, free: 7.27 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.644, allocations: 35.84 kB / 1.549 GB, free: 7.234 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.644, allocations: 27.98 kB / 1.55 GB, free: 7.207 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001138/0.6452, allocations: 0.7077 MB / 1.55 GB, free: 6.488 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6452, allocations: 4 kB / 1.55 GB, free: 6.484 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009388/0.6461, allocations: 255.9 kB / 1.55 GB, free: 6.234 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.00176/0.6479, allocations: 1.482 MB / 1.552 GB, free: 4.676 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.6489, allocations: 492.5 kB / 1.552 GB, free: 4.195 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6489, allocations: 4 kB / 1.552 GB, free: 4.191 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.6492, allocations: 186.7 kB / 1.553 GB, free: 4.012 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.6519, allocations: 0.6137 MB / 1.553 GB, free: 3.406 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.6633, allocations: 7.633 MB / 1.561 GB, free: 11.39 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.6642, allocations: 1.099 MB / 1.562 GB, free: 10.26 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008646/0.665, allocations: 248.4 kB / 1.562 GB, free: 10.02 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/0.6655, allocations: 343.3 kB / 1.562 GB, free: 9.68 MB / 1.264 GB Notification: Performance of SimCode: time 8.12e-07/0.6655, allocations: 0 / 1.562 GB, free: 9.68 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06847/0.734, allocations: 27.97 MB / 1.59 GB, free: 14.15 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.505/10.24, allocations: 7.188 kB / 1.59 GB, free: 14.15 MB / 1.295 GB " [Timeout remaining time 290] (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: 16.536493056919426]