Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001187/0.001187, 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.001308/0.001308, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.313/1.313, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.909/2.909, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001874/0.001874, allocations: 63.5 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3152, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.205/0.5202, allocations: 191.1 MB / 1.539 GB, free: 8.637 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01623/0.5364, allocations: 13.21 MB / 1.552 GB, free: 11.39 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.5376, allocations: 39.69 kB / 1.552 GB, free: 11.35 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.5389, allocations: 429.2 kB / 1.553 GB, free: 10.93 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.5413, allocations: 0.9683 MB / 1.554 GB, free: 9.957 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.5433, allocations: 0.7389 MB / 1.554 GB, free: 9.223 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.5453, allocations: 1.52 MB / 1.556 GB, free: 7.695 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007551/0.546, allocations: 0.503 MB / 1.556 GB, free: 7.18 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/0.55, allocations: 1.923 MB / 1.558 GB, free: 5.25 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.5512, allocations: 0.5214 MB / 1.559 GB, free: 4.73 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 8.467e-05/0.5512, allocations: 52 kB / 1.559 GB, free: 4.68 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.5528, allocations: 0.9159 MB / 1.56 GB, free: 3.762 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.5531, allocations: 279.1 kB / 1.56 GB, free: 3.488 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.5534, allocations: 386 kB / 1.56 GB, free: 3.109 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.555, allocations: 1.183 MB / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.555, allocations: 0 / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.082e-06/0.555, allocations: 0 / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.555, allocations: 0 / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001397/0.5564, allocations: 0.9983 MB / 1.563 GB, free: 0.8867 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.5564, allocations: 16.02 kB / 1.563 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.5565, allocations: 98.52 kB / 1.563 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008524/0.5574, allocations: 199.2 kB / 1.563 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.5582, allocations: 495.8 kB / 1.563 GB, free: 64 kB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.5582, allocations: 45.31 kB / 1.563 GB, free: 16 kB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.5583, allocations: 56.05 kB / 1.563 GB, free: 15.96 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.5594, allocations: 0.775 MB / 1.564 GB, free: 15.07 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5595, allocations: 3.938 kB / 1.564 GB, free: 15.07 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.5595, allocations: 31.94 kB / 1.564 GB, free: 15.04 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.5595, allocations: 28.98 kB / 1.564 GB, free: 15.01 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008532/0.5604, allocations: 459.2 kB / 1.565 GB, free: 14.56 MB / 1.264 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.003806/0.5642, allocations: 4.407 MB / 1.569 GB, free: 9.918 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.5643, allocations: 98.36 kB / 1.569 GB, free: 9.785 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.5644, allocations: 75.58 kB / 1.569 GB, free: 9.699 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.5646, allocations: 12 kB / 1.569 GB, free: 9.688 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.5646, allocations: 54.48 kB / 1.569 GB, free: 9.625 MB / 1.264 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.5646, allocations: 3.938 kB / 1.569 GB, free: 9.621 MB / 1.264 GB Notification: Performance of matching and sorting (n=10): time 0.0006069/0.5652, allocations: 244.9 kB / 1.569 GB, free: 9.375 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.5653, allocations: 128.8 kB / 1.57 GB, free: 9.219 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.5663, allocations: 0.8447 MB / 1.57 GB, free: 8.363 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.5664, allocations: 33.7 kB / 1.57 GB, free: 8.324 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.5667, allocations: 407.7 kB / 1.571 GB, free: 7.922 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.5667, allocations: 43.67 kB / 1.571 GB, free: 7.879 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.5668, allocations: 85.98 kB / 1.571 GB, free: 7.789 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.567, allocations: 333.9 kB / 1.571 GB, free: 7.457 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.5672, allocations: 108.7 kB / 1.571 GB, free: 7.352 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.5677, allocations: 365.7 kB / 1.572 GB, free: 6.879 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.5683, allocations: 441.8 kB / 1.572 GB, free: 6.34 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5683, allocations: 0 / 1.572 GB, free: 6.34 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009061/0.5692, allocations: 0.4927 MB / 1.573 GB, free: 5.84 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5692, allocations: 8 kB / 1.573 GB, free: 5.832 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5692, allocations: 8.844 kB / 1.573 GB, free: 5.824 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.5692, allocations: 12 kB / 1.573 GB, free: 5.812 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.5695, allocations: 99.83 kB / 1.573 GB, free: 5.715 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.5696, allocations: 15.92 kB / 1.573 GB, free: 5.699 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.5702, allocations: 123.2 kB / 1.573 GB, free: 5.578 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.5702, allocations: 24 kB / 1.573 GB, free: 5.555 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002552/0.5705, allocations: 229.5 kB / 1.573 GB, free: 5.32 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5706, allocations: 79.48 kB / 1.573 GB, free: 5.242 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.5707, allocations: 70.27 kB / 1.573 GB, free: 5.172 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5707, allocations: 4 kB / 1.573 GB, free: 5.168 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5707, allocations: 0 / 1.573 GB, free: 5.168 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5707, allocations: 7.875 kB / 1.573 GB, free: 5.16 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5721, allocations: 1.1 MB / 1.574 GB, free: 3.977 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5721, allocations: 4.125 kB / 1.574 GB, free: 3.973 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.5721, allocations: 16 kB / 1.574 GB, free: 3.957 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5721, allocations: 4 kB / 1.574 GB, free: 3.953 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.5722, allocations: 7.984 kB / 1.574 GB, free: 3.945 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5722, allocations: 4 kB / 1.574 GB, free: 3.941 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5722, allocations: 7.938 kB / 1.574 GB, free: 3.934 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.5725, allocations: 260.4 kB / 1.575 GB, free: 3.633 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.5727, allocations: 107.5 kB / 1.575 GB, free: 3.527 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.5727, allocations: 7.938 kB / 1.575 GB, free: 3.52 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.573, allocations: 19.98 kB / 1.575 GB, free: 3.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.5731, allocations: 15.86 kB / 1.575 GB, free: 3.484 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.5731, allocations: 4 kB / 1.575 GB, free: 3.48 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007851/0.5739, allocations: 0.5927 MB / 1.575 GB, free: 2.891 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.5739, allocations: 0 / 1.575 GB, free: 2.891 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0005114/0.5744, allocations: 155.8 kB / 1.576 GB, free: 2.738 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0008549/0.5752, allocations: 0.8774 MB / 1.576 GB, free: 1.816 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.5757, allocations: 233.2 kB / 1.577 GB, free: 1.59 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5757, allocations: 4 kB / 1.577 GB, free: 1.586 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.5758, allocations: 43.86 kB / 1.577 GB, free: 1.543 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.5772, allocations: 382.6 kB / 1.577 GB, free: 1.18 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.5841, allocations: 5.471 MB / 1.582 GB, free: 11.35 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.5847, allocations: 0.9331 MB / 1.583 GB, free: 10.39 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0004211/0.5851, allocations: 150.1 kB / 1.583 GB, free: 10.24 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.5854, allocations: 231.4 kB / 1.584 GB, free: 10.02 MB / 1.279 GB Notification: Performance of SimCode: time 4.31e-07/0.5854, allocations: 3.938 kB / 1.584 GB, free: 10.01 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04974/0.6351, allocations: 18.4 MB / 1.602 GB, free: 7.914 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.42, allocations: 0 / 1.602 GB, free: 7.914 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable const.k in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.860002321999673]