Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001862/0.001862, allocations: 111 kB / 16.46 MB, free: 6.453 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.002307/0.002307, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.063/3.063, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.002007/0.002007, allocations: 75.38 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2233/0.5359, allocations: 194.1 MB / 1.51 GB, free: 472 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.5463, allocations: 5.737 MB / 1.516 GB, free: 10.71 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.5477, allocations: 55.5 kB / 1.516 GB, free: 10.66 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.5495, allocations: 0.6059 MB / 1.517 GB, free: 10.05 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.5548, allocations: 1.897 MB / 1.519 GB, free: 8.145 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.5579, allocations: 1.2 MB / 1.52 GB, free: 6.949 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004009/0.5619, allocations: 2.957 MB / 1.523 GB, free: 3.988 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.5634, allocations: 0.9409 MB / 1.523 GB, free: 3.027 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.566, allocations: 1.316 MB / 1.525 GB, free: 1.707 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.5683, allocations: 1.012 MB / 1.526 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.5687, allocations: 123.9 kB / 1.526 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.5721, allocations: 1.52 MB / 1.527 GB, free: 15.05 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.5729, allocations: 0.5843 MB / 1.528 GB, free: 14.46 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.5743, allocations: 0.7195 MB / 1.529 GB, free: 13.74 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.5786, allocations: 2.348 MB / 1.531 GB, free: 11.39 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5786, allocations: 0 / 1.531 GB, free: 11.39 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5786, allocations: 4 kB / 1.531 GB, free: 11.38 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.703e-05/0.5787, allocations: 0 / 1.531 GB, free: 11.38 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004056/0.5828, allocations: 1.657 MB / 1.533 GB, free: 9.668 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.5828, allocations: 15.98 kB / 1.533 GB, free: 9.652 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000309/0.5831, allocations: 156.1 kB / 1.533 GB, free: 9.492 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.5853, allocations: 338.9 kB / 1.533 GB, free: 9.16 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.5872, allocations: 0.9144 MB / 1.534 GB, free: 8.203 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.5873, allocations: 74 kB / 1.534 GB, free: 8.133 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.5874, allocations: 108 kB / 1.534 GB, free: 8.027 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.5896, allocations: 1.077 MB / 1.535 GB, free: 6.941 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.5896, allocations: 3.984 kB / 1.535 GB, free: 6.938 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.5897, allocations: 43.94 kB / 1.535 GB, free: 6.895 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.5898, allocations: 38 kB / 1.535 GB, free: 6.855 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.5916, allocations: 0.9915 MB / 1.536 GB, free: 5.867 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.007045/0.5986, allocations: 4.385 MB / 1.54 GB, free: 1.152 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.5996, allocations: 0.5647 MB / 1.541 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.6001, allocations: 322.5 kB / 1.541 GB, free: 260 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.6003, allocations: 109.5 kB / 1.541 GB, free: 132 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.6003, allocations: 39 kB / 1.541 GB, free: 84 kB / 1.232 GB Notification: Performance of pre-optimization done (n=53): time 2.335e-06/0.6003, allocations: 0 / 1.541 GB, free: 84 kB / 1.232 GB Notification: Performance of matching and sorting (n=55): time 0.004538/0.6049, allocations: 2.218 MB / 1.544 GB, free: 13.75 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.6049, allocations: 71.91 kB / 1.544 GB, free: 13.67 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.6062, allocations: 0.8765 MB / 1.545 GB, free: 12.78 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.6063, allocations: 41.64 kB / 1.545 GB, free: 12.73 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.6067, allocations: 0.5313 MB / 1.545 GB, free: 12.2 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.6069, allocations: 202.2 kB / 1.545 GB, free: 12 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.6072, allocations: 134.6 kB / 1.545 GB, free: 11.86 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6073, allocations: 334 kB / 1.546 GB, free: 11.52 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.6079, allocations: 285.8 kB / 1.546 GB, free: 11.25 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.6085, allocations: 436.9 kB / 1.546 GB, free: 10.77 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.004156/0.6127, allocations: 1.741 MB / 1.548 GB, free: 8.957 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.6127, allocations: 8 kB / 1.548 GB, free: 8.949 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001684/0.6144, allocations: 0.9224 MB / 1.549 GB, free: 8.012 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6144, allocations: 8 kB / 1.549 GB, free: 8.004 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6144, allocations: 7.938 kB / 1.549 GB, free: 7.996 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.6146, allocations: 98.92 kB / 1.549 GB, free: 7.891 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.6154, allocations: 163.8 kB / 1.549 GB, free: 7.73 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.6194, allocations: 4.621 MB / 1.554 GB, free: 2.691 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/0.6203, allocations: 31.97 kB / 1.554 GB, free: 2.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.6204, allocations: 28 kB / 1.554 GB, free: 2.633 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005553/0.621, allocations: 345.5 kB / 1.554 GB, free: 2.285 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.6212, allocations: 111.3 kB / 1.554 GB, free: 2.176 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.6215, allocations: 113.2 kB / 1.554 GB, free: 2.059 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.6215, allocations: 11.94 kB / 1.554 GB, free: 2.047 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6215, allocations: 3.938 kB / 1.554 GB, free: 2.043 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.6227, allocations: 0.7575 MB / 1.555 GB, free: 1.23 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.6261, allocations: 1.988 MB / 1.557 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6261, allocations: 7.969 kB / 1.557 GB, free: 15.13 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.6268, allocations: 143.8 kB / 1.557 GB, free: 14.99 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.6269, allocations: 45.17 kB / 1.557 GB, free: 14.94 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.627, allocations: 20 kB / 1.557 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.6284, allocations: 1.598 MB / 1.559 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6284, allocations: 4.062 kB / 1.559 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.6304, allocations: 1.208 MB / 1.56 GB, free: 11.91 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.6308, allocations: 264.4 kB / 1.56 GB, free: 11.64 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.631, allocations: 16 kB / 1.56 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.6317, allocations: 33.91 kB / 1.56 GB, free: 11.59 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6319, allocations: 51.81 kB / 1.56 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/0.6319, allocations: 31.98 kB / 1.56 GB, free: 11.51 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008611/0.6328, allocations: 0.6122 MB / 1.561 GB, free: 10.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6328, allocations: 0 / 1.561 GB, free: 10.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001046/0.6338, allocations: 311.9 kB / 1.561 GB, free: 10.6 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002471/0.6363, allocations: 1.842 MB / 1.563 GB, free: 8.691 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.638, allocations: 0.9835 MB / 1.564 GB, free: 7.664 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.638, allocations: 4.312 kB / 1.564 GB, free: 7.66 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/0.6387, allocations: 442.3 kB / 1.565 GB, free: 7.215 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.6416, allocations: 0.6456 MB / 1.565 GB, free: 6.582 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.6533, allocations: 7.964 MB / 1.573 GB, free: 14.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.6541, allocations: 1.178 MB / 1.574 GB, free: 13.09 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008783/0.655, allocations: 252.4 kB / 1.574 GB, free: 12.84 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.6556, allocations: 379.3 kB / 1.575 GB, free: 12.47 MB / 1.279 GB Notification: Performance of SimCode: time 8.11e-07/0.6556, allocations: 0 / 1.575 GB, free: 12.47 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6685/1.324, allocations: 30.68 MB / 1.605 GB, free: 279.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.42, allocations: 6.594 kB / 1.605 GB, free: 279.5 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 20.871365862200037]