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.001223/0.001223, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001351/0.001351, allocations: 217.8 kB / 22.25 MB, free: 5.121 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.996 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.907/2.907, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.001858/0.001858, allocations: 63.61 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2951, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2052/0.5003, allocations: 194.5 MB / 1.516 GB, free: 14.71 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009078/0.5094, allocations: 5.762 MB / 1.521 GB, free: 8.93 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.5105, allocations: 59.5 kB / 1.522 GB, free: 8.871 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.512, allocations: 0.5942 MB / 1.522 GB, free: 8.273 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.5164, allocations: 1.948 MB / 1.524 GB, free: 6.312 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.5196, allocations: 1.23 MB / 1.525 GB, free: 5.086 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004103/0.5237, allocations: 3.029 MB / 1.528 GB, free: 2.051 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.5251, allocations: 0.8282 MB / 1.529 GB, free: 1.203 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.5276, allocations: 1.312 MB / 1.53 GB, free: 15.89 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.5299, allocations: 1.033 MB / 1.531 GB, free: 14.86 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.5301, allocations: 120 kB / 1.531 GB, free: 14.74 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.5331, allocations: 1.547 MB / 1.533 GB, free: 13.19 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.5338, allocations: 0.5804 MB / 1.533 GB, free: 12.61 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.5349, allocations: 0.7234 MB / 1.534 GB, free: 11.88 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.5379, allocations: 2.344 MB / 1.536 GB, free: 9.527 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5379, allocations: 0 / 1.536 GB, free: 9.527 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5379, allocations: 0 / 1.536 GB, free: 9.527 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.5379, allocations: 0 / 1.536 GB, free: 9.527 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.002442/0.5404, allocations: 1.59 MB / 1.538 GB, free: 7.898 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5404, allocations: 12.03 kB / 1.538 GB, free: 7.887 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/0.5406, allocations: 160.1 kB / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.5425, allocations: 338.9 kB / 1.539 GB, free: 7.391 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.544, allocations: 0.8383 MB / 1.539 GB, free: 6.523 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.5441, allocations: 70 kB / 1.539 GB, free: 6.457 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.5442, allocations: 103.9 kB / 1.539 GB, free: 6.355 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.5459, allocations: 1.089 MB / 1.541 GB, free: 5.258 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.546, allocations: 0 / 1.541 GB, free: 5.258 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.5461, allocations: 44 kB / 1.541 GB, free: 5.215 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.5461, allocations: 41.98 kB / 1.541 GB, free: 5.172 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.5477, allocations: 0.9876 MB / 1.542 GB, free: 4.188 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.006146/0.5539, allocations: 4.327 MB / 1.546 GB, free: 15.53 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00087/0.5547, allocations: 0.5669 MB / 1.546 GB, free: 14.95 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.5552, allocations: 322.5 kB / 1.547 GB, free: 14.63 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.5554, allocations: 32.41 kB / 1.547 GB, free: 14.6 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.5554, allocations: 43 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.5554, allocations: 0 / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.003721/0.5591, allocations: 1.911 MB / 1.549 GB, free: 12.6 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.5592, allocations: 67.84 kB / 1.549 GB, free: 12.52 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.5602, allocations: 0.8804 MB / 1.55 GB, free: 11.63 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.5603, allocations: 41.7 kB / 1.55 GB, free: 11.58 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.5607, allocations: 0.5274 MB / 1.55 GB, free: 11.05 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.5609, allocations: 202.3 kB / 1.55 GB, free: 10.85 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.5611, allocations: 134.6 kB / 1.55 GB, free: 10.71 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5612, allocations: 334 kB / 1.551 GB, free: 10.38 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.5617, allocations: 285.8 kB / 1.551 GB, free: 10.1 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.5623, allocations: 429.1 kB / 1.551 GB, free: 9.629 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.003739/0.5661, allocations: 1.673 MB / 1.553 GB, free: 7.902 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5661, allocations: 4 kB / 1.553 GB, free: 7.898 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001495/0.5676, allocations: 0.925 MB / 1.554 GB, free: 6.957 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5676, allocations: 9.406 kB / 1.554 GB, free: 6.949 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5676, allocations: 7.938 kB / 1.554 GB, free: 6.941 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.5678, allocations: 94.45 kB / 1.554 GB, free: 6.84 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.5685, allocations: 171.8 kB / 1.554 GB, free: 6.672 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.572, allocations: 4.319 MB / 1.558 GB, free: 2.012 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.5728, allocations: 36.08 kB / 1.558 GB, free: 1.977 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.5728, allocations: 31.98 kB / 1.559 GB, free: 1.945 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.0005038/0.5734, allocations: 347.3 kB / 1.559 GB, free: 1.598 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.5735, allocations: 103.4 kB / 1.559 GB, free: 1.496 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5737, allocations: 109.2 kB / 1.559 GB, free: 1.387 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5737, allocations: 4 kB / 1.559 GB, free: 1.383 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.5737, allocations: 0 / 1.559 GB, free: 1.383 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.5748, allocations: 0.7715 MB / 1.56 GB, free: 0.5586 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.5779, allocations: 1.96 MB / 1.562 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5779, allocations: 11.97 kB / 1.562 GB, free: 14.49 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.5785, allocations: 143.8 kB / 1.562 GB, free: 14.35 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.828e-05/0.5786, allocations: 40.83 kB / 1.562 GB, free: 14.31 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.5786, allocations: 20 kB / 1.562 GB, free: 14.29 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.5799, allocations: 1.506 MB / 1.563 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5799, allocations: 7.938 kB / 1.563 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.5817, allocations: 1.207 MB / 1.565 GB, free: 11.39 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.5821, allocations: 183.3 kB / 1.565 GB, free: 11.21 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.5823, allocations: 19.98 kB / 1.565 GB, free: 11.19 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.5829, allocations: 37.73 kB / 1.565 GB, free: 11.16 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.583, allocations: 47.8 kB / 1.565 GB, free: 11.11 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.5831, allocations: 35.98 kB / 1.565 GB, free: 11.07 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007843/0.5839, allocations: 0.6122 MB / 1.565 GB, free: 10.47 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.5839, allocations: 0 / 1.565 GB, free: 10.47 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008658/0.5847, allocations: 308 kB / 1.566 GB, free: 10.17 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.00219/0.5869, allocations: 1.82 MB / 1.568 GB, free: 8.281 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.5884, allocations: 0.983 MB / 1.569 GB, free: 7.258 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5884, allocations: 0 / 1.569 GB, free: 7.258 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.589, allocations: 440.2 kB / 1.569 GB, free: 6.816 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.5916, allocations: 0.648 MB / 1.57 GB, free: 6.184 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.6022, allocations: 7.98 MB / 1.577 GB, free: 13.88 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.603, allocations: 1.163 MB / 1.579 GB, free: 12.69 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008143/0.6039, allocations: 260.4 kB / 1.579 GB, free: 12.43 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.6044, allocations: 387.3 kB / 1.579 GB, free: 12.05 MB / 1.279 GB Notification: Performance of SimCode: time 5.51e-07/0.6044, allocations: 0 / 1.579 GB, free: 12.05 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6665/1.271, allocations: 31.19 MB / 1.61 GB, free: 79.26 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.42, allocations: 5.547 kB / 1.61 GB, free: 79.26 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.489988435059786]