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.001412/0.001412, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001574/0.001574, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.899/2.899, allocations: 0.49 GB / 0.7959 GB, free: 33.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",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.001847/0.001847, allocations: 62.34 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.214/0.4967, allocations: 194.4 MB / 1.516 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.5074, allocations: 5.744 MB / 1.522 GB, free: 9.141 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.5089, allocations: 63.44 kB / 1.522 GB, free: 9.078 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.5106, allocations: 0.5942 MB / 1.523 GB, free: 8.48 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.5149, allocations: 1.7 MB / 1.524 GB, free: 6.773 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.5184, allocations: 1.246 MB / 1.526 GB, free: 5.539 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004066/0.5225, allocations: 2.582 MB / 1.528 GB, free: 2.945 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.5241, allocations: 0.7122 MB / 1.529 GB, free: 2.215 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.527, allocations: 1.25 MB / 1.53 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.529, allocations: 0.8688 MB / 1.531 GB, free: 96 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.5292, allocations: 100 kB / 1.531 GB, free: 15.99 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.5319, allocations: 1.613 MB / 1.533 GB, free: 14.38 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005141/0.5325, allocations: 0.4908 MB / 1.533 GB, free: 13.89 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006808/0.5331, allocations: 0.6261 MB / 1.534 GB, free: 13.26 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.5357, allocations: 2.126 MB / 1.536 GB, free: 11.12 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5357, allocations: 0 / 1.536 GB, free: 11.12 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5357, allocations: 0 / 1.536 GB, free: 11.12 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.5358, allocations: 0 / 1.536 GB, free: 11.12 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.002286/0.538, allocations: 1.434 MB / 1.537 GB, free: 9.652 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5381, allocations: 8.031 kB / 1.537 GB, free: 9.645 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.811e-05/0.5381, allocations: 22 kB / 1.537 GB, free: 9.625 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.5383, allocations: 151.1 kB / 1.537 GB, free: 9.469 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.5401, allocations: 331 kB / 1.538 GB, free: 9.145 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.5414, allocations: 0.7402 MB / 1.538 GB, free: 8.375 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.5414, allocations: 66 kB / 1.538 GB, free: 8.312 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.5416, allocations: 87.92 kB / 1.538 GB, free: 8.227 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.5433, allocations: 1.067 MB / 1.54 GB, free: 7.117 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.5434, allocations: 3.938 kB / 1.54 GB, free: 7.113 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.031e-05/0.5435, allocations: 43.98 kB / 1.54 GB, free: 7.07 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.5435, allocations: 34 kB / 1.54 GB, free: 7.039 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.545, allocations: 0.8314 MB / 1.54 GB, free: 6.207 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.005608/0.5506, allocations: 4.367 MB / 1.545 GB, free: 1.535 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.5512, allocations: 354.6 kB / 1.545 GB, free: 1.18 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.5515, allocations: 201.8 kB / 1.545 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.5516, allocations: 27.98 kB / 1.545 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.5517, allocations: 38.56 kB / 1.545 GB, free: 0.9062 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 1.873e-06/0.5517, allocations: 0 / 1.545 GB, free: 0.9062 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002354/0.554, allocations: 1.281 MB / 1.547 GB, free: 15.59 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.5541, allocations: 59.41 kB / 1.547 GB, free: 15.52 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.5554, allocations: 1.001 MB / 1.548 GB, free: 14.5 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.5555, allocations: 33.7 kB / 1.548 GB, free: 14.46 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.5558, allocations: 0.5002 MB / 1.548 GB, free: 13.95 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.556, allocations: 142.8 kB / 1.548 GB, free: 13.81 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.5562, allocations: 122.2 kB / 1.548 GB, free: 13.69 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5563, allocations: 330 kB / 1.549 GB, free: 13.36 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.5568, allocations: 237.2 kB / 1.549 GB, free: 13.13 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.5574, allocations: 423.8 kB / 1.549 GB, free: 12.64 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.002371/0.5597, allocations: 1.139 MB / 1.55 GB, free: 11.42 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5597, allocations: 0 / 1.55 GB, free: 11.42 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001326/0.5611, allocations: 0.7776 MB / 1.551 GB, free: 10.63 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5611, allocations: 11.94 kB / 1.551 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5611, allocations: 4 kB / 1.551 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5611, allocations: 12.38 kB / 1.551 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.5617, allocations: 147.8 kB / 1.551 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.5617, allocations: 11.94 kB / 1.551 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.5624, allocations: 59.94 kB / 1.551 GB, free: 10.39 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.5625, allocations: 24 kB / 1.551 GB, free: 10.37 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.0003978/0.5629, allocations: 313.5 kB / 1.552 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.563, allocations: 107.3 kB / 1.552 GB, free: 9.945 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.5632, allocations: 109 kB / 1.552 GB, free: 9.836 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5632, allocations: 4 kB / 1.552 GB, free: 9.832 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5632, allocations: 3.938 kB / 1.552 GB, free: 9.828 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007065/0.5639, allocations: 0.6791 MB / 1.553 GB, free: 9.062 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.5662, allocations: 1.542 MB / 1.554 GB, free: 7.422 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5662, allocations: 4 kB / 1.554 GB, free: 7.418 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.5666, allocations: 92.33 kB / 1.554 GB, free: 7.328 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5666, allocations: 8 kB / 1.554 GB, free: 7.32 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.5667, allocations: 15.94 kB / 1.554 GB, free: 7.305 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.5667, allocations: 8 kB / 1.554 GB, free: 7.297 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5667, allocations: 4 kB / 1.554 GB, free: 7.293 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5678, allocations: 0.8377 MB / 1.555 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.5682, allocations: 171.2 kB / 1.555 GB, free: 6.223 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.5683, allocations: 12 kB / 1.555 GB, free: 6.211 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.5689, allocations: 37.66 kB / 1.555 GB, free: 6.176 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.569, allocations: 39.83 kB / 1.555 GB, free: 6.137 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.569, allocations: 27.98 kB / 1.555 GB, free: 6.109 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009984/0.57, allocations: 0.7077 MB / 1.556 GB, free: 5.391 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.57, allocations: 0 / 1.556 GB, free: 5.391 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007936/0.5708, allocations: 251.9 kB / 1.556 GB, free: 5.145 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.001572/0.5724, allocations: 1.481 MB / 1.558 GB, free: 3.586 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009093/0.5733, allocations: 483.8 kB / 1.558 GB, free: 3.113 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5733, allocations: 4 kB / 1.558 GB, free: 3.109 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.5736, allocations: 185.2 kB / 1.558 GB, free: 2.93 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/0.5762, allocations: 0.6324 MB / 1.559 GB, free: 2.309 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.5867, allocations: 7.632 MB / 1.566 GB, free: 10.3 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.5875, allocations: 1.099 MB / 1.567 GB, free: 9.176 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007947/0.5882, allocations: 248.3 kB / 1.568 GB, free: 8.93 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.5887, allocations: 347.3 kB / 1.568 GB, free: 8.59 MB / 1.264 GB Notification: Performance of SimCode: time 7.71e-07/0.5887, allocations: 0 / 1.568 GB, free: 8.59 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05863/0.6473, allocations: 28.52 MB / 1.596 GB, free: 12.53 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.46, allocations: 7.047 kB / 1.596 GB, free: 12.53 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.12214335601311]