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.001238/0.001238, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001386/0.001386, allocations: 216.2 kB / 22.25 MB, free: 5.258 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.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.892/2.892, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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.002077/0.002077, allocations: 67.62 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2966, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1915/0.4881, allocations: 168.5 MB / 1.49 GB, free: 8.422 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009368/0.4974, allocations: 5.424 MB / 1.496 GB, free: 2.984 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4984, allocations: 63.5 kB / 1.496 GB, free: 2.922 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.4998, allocations: 0.5396 MB / 1.496 GB, free: 2.379 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.5037, allocations: 1.918 MB / 1.498 GB, free: 464 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.5064, allocations: 1.217 MB / 1.499 GB, free: 15.24 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003442/0.5098, allocations: 3.035 MB / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.5109, allocations: 0.8283 MB / 1.503 GB, free: 11.35 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.513, allocations: 1.32 MB / 1.504 GB, free: 10.03 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.5149, allocations: 1.031 MB / 1.505 GB, free: 9 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.5151, allocations: 124 kB / 1.506 GB, free: 8.879 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.5173, allocations: 1.2 MB / 1.507 GB, free: 7.676 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.5179, allocations: 0.5882 MB / 1.507 GB, free: 7.086 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007097/0.5186, allocations: 0.6069 MB / 1.508 GB, free: 6.477 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.5214, allocations: 2.313 MB / 1.51 GB, free: 4.156 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5214, allocations: 4 kB / 1.51 GB, free: 4.152 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5214, allocations: 0 / 1.51 GB, free: 4.152 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.5215, allocations: 0 / 1.51 GB, free: 4.152 MB / 1.201 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.002708/0.5242, allocations: 1.586 MB / 1.512 GB, free: 2.527 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.5242, allocations: 8.031 kB / 1.512 GB, free: 2.52 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001952/0.5244, allocations: 160.1 kB / 1.512 GB, free: 2.355 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.5264, allocations: 326.9 kB / 1.512 GB, free: 2.035 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.528, allocations: 0.8461 MB / 1.513 GB, free: 1.16 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.5281, allocations: 77.98 kB / 1.513 GB, free: 1.086 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.5282, allocations: 96 kB / 1.513 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.5303, allocations: 1.54 MB / 1.515 GB, free: 15.33 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.5303, allocations: 0 / 1.515 GB, free: 15.33 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.5304, allocations: 44 kB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.5305, allocations: 38 kB / 1.515 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.5321, allocations: 0.9837 MB / 1.516 GB, free: 14.27 MB / 1.217 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.005609/0.5377, allocations: 2.911 MB / 1.519 GB, free: 11.3 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.5386, allocations: 0.563 MB / 1.519 GB, free: 10.73 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.5391, allocations: 330.4 kB / 1.519 GB, free: 10.39 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5393, allocations: 28.42 kB / 1.519 GB, free: 10.37 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.5393, allocations: 39 kB / 1.519 GB, free: 10.32 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.264e-06/0.5393, allocations: 0 / 1.519 GB, free: 10.32 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.003773/0.5431, allocations: 1.908 MB / 1.521 GB, free: 8.375 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.5431, allocations: 59.84 kB / 1.521 GB, free: 8.305 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5442, allocations: 0.896 MB / 1.522 GB, free: 7.398 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.5442, allocations: 41.7 kB / 1.522 GB, free: 7.352 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.5447, allocations: 0.5273 MB / 1.523 GB, free: 6.816 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.5449, allocations: 202.3 kB / 1.523 GB, free: 6.617 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.5451, allocations: 134.6 kB / 1.523 GB, free: 6.48 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5452, allocations: 334 kB / 1.523 GB, free: 6.148 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.5457, allocations: 289.8 kB / 1.524 GB, free: 5.863 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.5463, allocations: 484.5 kB / 1.524 GB, free: 5.328 MB / 1.217 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.003925/0.5503, allocations: 1.673 MB / 1.526 GB, free: 3.602 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5503, allocations: 3.938 kB / 1.526 GB, free: 3.598 MB / 1.217 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001549/0.5518, allocations: 0.9286 MB / 1.527 GB, free: 2.652 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5518, allocations: 9.406 kB / 1.527 GB, free: 2.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5519, allocations: 7.938 kB / 1.527 GB, free: 2.637 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.5521, allocations: 90.52 kB / 1.527 GB, free: 2.539 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.5528, allocations: 175.7 kB / 1.527 GB, free: 2.367 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.5565, allocations: 4.303 MB / 1.531 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/0.5573, allocations: 32.36 kB / 1.531 GB, free: 13.69 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.5574, allocations: 27.98 kB / 1.531 GB, free: 13.66 MB / 1.232 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.0005328/0.5579, allocations: 360.9 kB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5581, allocations: 107.3 kB / 1.532 GB, free: 13.2 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.5583, allocations: 109.2 kB / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.5583, allocations: 4 kB / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5583, allocations: 0 / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.5594, allocations: 0.7677 MB / 1.533 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.5625, allocations: 1.808 MB / 1.534 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5625, allocations: 4 kB / 1.534 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/0.5631, allocations: 147.8 kB / 1.534 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.1e-05/0.5632, allocations: 40.83 kB / 1.534 GB, free: 10.17 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.5633, allocations: 19.98 kB / 1.535 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.5645, allocations: 1.494 MB / 1.536 GB, free: 8.539 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5645, allocations: 4 kB / 1.536 GB, free: 8.535 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.5663, allocations: 1.21 MB / 1.537 GB, free: 7.266 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.5667, allocations: 179.3 kB / 1.537 GB, free: 7.09 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5669, allocations: 16 kB / 1.537 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/0.5676, allocations: 41.19 kB / 1.537 GB, free: 7.035 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.5677, allocations: 47.86 kB / 1.537 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.5677, allocations: 35.98 kB / 1.537 GB, free: 6.953 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007554/0.5685, allocations: 0.6083 MB / 1.538 GB, free: 6.352 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5685, allocations: 0 / 1.538 GB, free: 6.352 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008575/0.5694, allocations: 311.9 kB / 1.538 GB, free: 6.047 MB / 1.232 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.00225/0.5716, allocations: 1.836 MB / 1.54 GB, free: 4.145 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.5731, allocations: 0.9868 MB / 1.541 GB, free: 3.117 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5731, allocations: 4 kB / 1.541 GB, free: 3.113 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.5737, allocations: 436.2 kB / 1.542 GB, free: 2.676 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.5762, allocations: 0.6551 MB / 1.542 GB, free: 2.035 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.5869, allocations: 7.964 MB / 1.55 GB, free: 9.746 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.5876, allocations: 0.5743 MB / 1.551 GB, free: 9.141 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008271/0.5884, allocations: 256.4 kB / 1.551 GB, free: 8.887 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.5889, allocations: 379.3 kB / 1.551 GB, free: 8.516 MB / 1.248 GB Notification: Performance of SimCode: time 8.02e-07/0.5889, allocations: 0 / 1.551 GB, free: 8.516 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07368/0.6626, allocations: 33.83 MB / 1.584 GB, free: 7.395 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.28, allocations: 0 / 1.584 GB, free: 7.395 MB / 1.279 GB " [Timeout remaining time 287] (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: 19.33936693999567]