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.001525/0.001525, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001614/0.001614, allocations: 214.5 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.331/1.331, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.823/2.823, allocations: 0.49 GB / 0.7959 GB, free: 33.36 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001881/0.001881, allocations: 63.05 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.212/0.4941, allocations: 194.5 MB / 1.517 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009445/0.5036, allocations: 5.768 MB / 1.522 GB, free: 8.973 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.5048, allocations: 59.5 kB / 1.522 GB, free: 8.914 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.5064, allocations: 0.5942 MB / 1.523 GB, free: 8.316 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.5108, allocations: 1.937 MB / 1.525 GB, free: 6.371 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.5137, allocations: 1.237 MB / 1.526 GB, free: 5.141 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.5178, allocations: 3.027 MB / 1.529 GB, free: 2.105 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.5192, allocations: 0.8243 MB / 1.53 GB, free: 1.262 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.5218, allocations: 1.32 MB / 1.531 GB, free: 15.94 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.5243, allocations: 1.029 MB / 1.532 GB, free: 14.91 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0003624/0.5246, allocations: 120 kB / 1.532 GB, free: 14.79 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.5279, allocations: 1.551 MB / 1.534 GB, free: 13.24 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0007721/0.5287, allocations: 0.5804 MB / 1.534 GB, free: 12.66 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.53, allocations: 0.7273 MB / 1.535 GB, free: 11.93 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.5338, allocations: 2.344 MB / 1.537 GB, free: 9.574 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5338, allocations: 0 / 1.537 GB, free: 9.574 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5338, allocations: 0 / 1.537 GB, free: 9.574 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.5338, allocations: 3.984 kB / 1.537 GB, free: 9.57 MB / 1.233 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.002604/0.5364, allocations: 1.578 MB / 1.539 GB, free: 7.953 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5364, allocations: 19.97 kB / 1.539 GB, free: 7.934 MB / 1.233 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.308e-05/0.5365, allocations: 26 kB / 1.539 GB, free: 7.91 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.5367, allocations: 156.2 kB / 1.539 GB, free: 7.75 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.5386, allocations: 338.9 kB / 1.539 GB, free: 7.418 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.5401, allocations: 0.8383 MB / 1.54 GB, free: 6.551 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.5402, allocations: 74 kB / 1.54 GB, free: 6.477 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.5404, allocations: 103.9 kB / 1.54 GB, free: 6.375 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.5422, allocations: 1.081 MB / 1.541 GB, free: 5.289 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5422, allocations: 0 / 1.541 GB, free: 5.289 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.824e-05/0.5423, allocations: 44 kB / 1.541 GB, free: 5.246 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.5423, allocations: 41.98 kB / 1.541 GB, free: 5.207 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.544, allocations: 0.9876 MB / 1.542 GB, free: 4.215 MB / 1.233 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.00612/0.5501, allocations: 4.33 MB / 1.547 GB, free: 15.55 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.551, allocations: 0.563 MB / 1.547 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.5515, allocations: 322.5 kB / 1.547 GB, free: 14.66 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.5516, allocations: 28.41 kB / 1.547 GB, free: 14.63 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.5517, allocations: 47 kB / 1.548 GB, free: 14.58 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 2.255e-06/0.5517, allocations: 0 / 1.548 GB, free: 14.58 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.003888/0.5556, allocations: 1.919 MB / 1.549 GB, free: 12.62 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5556, allocations: 59.91 kB / 1.549 GB, free: 12.55 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.5567, allocations: 0.8804 MB / 1.55 GB, free: 11.66 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.5567, allocations: 41.7 kB / 1.55 GB, free: 11.61 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.5571, allocations: 0.5274 MB / 1.551 GB, free: 11.08 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.5573, allocations: 202.3 kB / 1.551 GB, free: 10.88 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.5575, allocations: 130.6 kB / 1.551 GB, free: 10.75 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5577, allocations: 334 kB / 1.552 GB, free: 10.41 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.5581, allocations: 285.8 kB / 1.552 GB, free: 10.13 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.5588, allocations: 433 kB / 1.552 GB, free: 9.66 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.003778/0.5625, allocations: 1.669 MB / 1.554 GB, free: 7.938 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5625, allocations: 7.938 kB / 1.554 GB, free: 7.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00154/0.5641, allocations: 0.925 MB / 1.555 GB, free: 6.988 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5641, allocations: 17.64 kB / 1.555 GB, free: 6.973 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.5641, allocations: 4 kB / 1.555 GB, free: 6.969 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.5643, allocations: 102.5 kB / 1.555 GB, free: 6.859 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.565, allocations: 163.8 kB / 1.555 GB, free: 6.699 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.5687, allocations: 4.323 MB / 1.559 GB, free: 2.035 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008035/0.5695, allocations: 36.08 kB / 1.559 GB, free: 2 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.5696, allocations: 31.92 kB / 1.559 GB, free: 1.969 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.0005341/0.5701, allocations: 341.6 kB / 1.56 GB, free: 1.625 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5703, allocations: 103.4 kB / 1.56 GB, free: 1.523 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.5705, allocations: 113.2 kB / 1.56 GB, free: 1.414 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5705, allocations: 4 kB / 1.56 GB, free: 1.41 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5705, allocations: 0 / 1.56 GB, free: 1.41 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/0.5716, allocations: 0.7754 MB / 1.561 GB, free: 0.582 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.5747, allocations: 1.96 MB / 1.563 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.5747, allocations: 8 kB / 1.563 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.5753, allocations: 147.8 kB / 1.563 GB, free: 14.38 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.005e-05/0.5754, allocations: 36.84 kB / 1.563 GB, free: 14.34 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.5755, allocations: 19.98 kB / 1.563 GB, free: 14.32 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.5767, allocations: 1.502 MB / 1.564 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.5767, allocations: 7.938 kB / 1.564 GB, free: 12.69 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5786, allocations: 1.207 MB / 1.565 GB, free: 11.42 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.579, allocations: 183.3 kB / 1.566 GB, free: 11.24 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5791, allocations: 16 kB / 1.566 GB, free: 11.23 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.5798, allocations: 37.73 kB / 1.566 GB, free: 11.19 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5799, allocations: 47.81 kB / 1.566 GB, free: 11.14 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.58, allocations: 35.97 kB / 1.566 GB, free: 11.11 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008042/0.5808, allocations: 0.6122 MB / 1.566 GB, free: 10.5 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.5808, allocations: 0 / 1.566 GB, free: 10.5 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008983/0.5817, allocations: 308 kB / 1.567 GB, free: 10.2 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.002256/0.5839, allocations: 1.829 MB / 1.568 GB, free: 8.309 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.5854, allocations: 0.983 MB / 1.569 GB, free: 7.285 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5854, allocations: 0 / 1.569 GB, free: 7.285 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.5861, allocations: 440.1 kB / 1.57 GB, free: 6.844 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.5888, allocations: 0.642 MB / 1.57 GB, free: 6.211 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.5997, allocations: 7.984 MB / 1.578 GB, free: 13.91 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.6005, allocations: 1.17 MB / 1.579 GB, free: 12.71 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008199/0.6013, allocations: 260.4 kB / 1.58 GB, free: 12.45 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/0.6019, allocations: 379.3 kB / 1.58 GB, free: 12.08 MB / 1.279 GB Notification: Performance of SimCode: time 7.81e-07/0.6019, allocations: 0 / 1.58 GB, free: 12.08 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6009/1.203, allocations: 31.22 MB / 1.61 GB, free: 279.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.43, allocations: 10.53 kB / 1.61 GB, free: 279.1 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.527494445967022]