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.001858/0.001858, allocations: 107.8 kB / 16.45 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.002261/0.002261, 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] 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 3.191/3.191, allocations: 0.505 GB / 0.8066 GB, free: 23.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.002179/0.002179, allocations: 71.64 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3466, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2267/0.5733, allocations: 190.7 MB / 1.534 GB, free: 10.49 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01863/0.5919, allocations: 13.11 MB / 1.547 GB, free: 13.34 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.5931, allocations: 43.62 kB / 1.547 GB, free: 13.3 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.5947, allocations: 425.3 kB / 1.547 GB, free: 12.88 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.5973, allocations: 0.9527 MB / 1.548 GB, free: 11.92 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.5995, allocations: 0.7215 MB / 1.549 GB, free: 11.2 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.6017, allocations: 1.488 MB / 1.55 GB, free: 9.711 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.6027, allocations: 0.5453 MB / 1.551 GB, free: 9.148 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.6069, allocations: 1.895 MB / 1.553 GB, free: 7.246 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.6084, allocations: 0.5156 MB / 1.553 GB, free: 6.734 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.6085, allocations: 52 kB / 1.553 GB, free: 6.684 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.6103, allocations: 0.9003 MB / 1.554 GB, free: 5.781 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.6107, allocations: 287.1 kB / 1.554 GB, free: 5.5 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0005944/0.6113, allocations: 390 kB / 1.555 GB, free: 5.117 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.6133, allocations: 1.179 MB / 1.556 GB, free: 3.934 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6133, allocations: 0 / 1.556 GB, free: 3.934 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6133, allocations: 0 / 1.556 GB, free: 3.934 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.564e-05/0.6133, allocations: 4 kB / 1.556 GB, free: 3.93 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.001815/0.6152, allocations: 1.07 MB / 1.557 GB, free: 2.805 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6152, allocations: 11.98 kB / 1.557 GB, free: 2.793 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.6153, allocations: 106.4 kB / 1.557 GB, free: 2.68 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009984/0.6163, allocations: 195.2 kB / 1.557 GB, free: 2.488 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.6173, allocations: 0.5486 MB / 1.558 GB, free: 1.902 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.6173, allocations: 49.31 kB / 1.558 GB, free: 1.855 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.6174, allocations: 56 kB / 1.558 GB, free: 1.801 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6187, allocations: 0.775 MB / 1.559 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.6187, allocations: 11.92 kB / 1.559 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.6188, allocations: 35.92 kB / 1.559 GB, free: 0.8672 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.6188, allocations: 25 kB / 1.559 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009756/0.6198, allocations: 464.4 kB / 1.559 GB, free: 400 kB / 1.248 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.00458/0.6244, allocations: 4.455 MB / 1.564 GB, free: 11.69 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.6245, allocations: 114.4 kB / 1.564 GB, free: 11.54 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.6246, allocations: 67.5 kB / 1.564 GB, free: 11.46 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.6248, allocations: 93.09 kB / 1.564 GB, free: 11.35 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.6249, allocations: 46.5 kB / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.6249, allocations: 0 / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=10): time 0.0007258/0.6256, allocations: 245 kB / 1.564 GB, free: 11.05 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.6257, allocations: 140.5 kB / 1.564 GB, free: 10.88 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.627, allocations: 0.8449 MB / 1.565 GB, free: 10.03 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.627, allocations: 29.7 kB / 1.565 GB, free: 9.992 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.6274, allocations: 411.7 kB / 1.566 GB, free: 9.586 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.6274, allocations: 35.69 kB / 1.566 GB, free: 9.551 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.6276, allocations: 93.97 kB / 1.566 GB, free: 9.453 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6277, allocations: 321.9 kB / 1.566 GB, free: 9.133 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.628, allocations: 116.7 kB / 1.566 GB, free: 9.02 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.6285, allocations: 361.7 kB / 1.566 GB, free: 8.551 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.6292, allocations: 437.5 kB / 1.567 GB, free: 8.016 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.6292, allocations: 7.984 kB / 1.567 GB, free: 8.008 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001083/0.6303, allocations: 0.4927 MB / 1.567 GB, free: 7.508 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.6303, allocations: 12 kB / 1.567 GB, free: 7.496 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.6303, allocations: 8 kB / 1.567 GB, free: 7.488 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.6303, allocations: 8 kB / 1.567 GB, free: 7.48 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.6307, allocations: 96.55 kB / 1.567 GB, free: 7.387 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.6307, allocations: 19.92 kB / 1.567 GB, free: 7.367 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.6314, allocations: 111.3 kB / 1.568 GB, free: 7.258 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.6315, allocations: 28 kB / 1.568 GB, free: 7.23 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.0003107/0.6318, allocations: 233.5 kB / 1.568 GB, free: 6.992 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.632, allocations: 79.48 kB / 1.568 GB, free: 6.914 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.6321, allocations: 74.64 kB / 1.568 GB, free: 6.836 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6321, allocations: 0 / 1.568 GB, free: 6.836 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6321, allocations: 0 / 1.568 GB, free: 6.836 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6321, allocations: 11.88 kB / 1.568 GB, free: 6.824 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.6337, allocations: 1.117 MB / 1.569 GB, free: 5.617 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6337, allocations: 12.06 kB / 1.569 GB, free: 5.605 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.6338, allocations: 19.94 kB / 1.569 GB, free: 5.586 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.6338, allocations: 3.984 kB / 1.569 GB, free: 5.582 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.6338, allocations: 4 kB / 1.569 GB, free: 5.578 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.6338, allocations: 4 kB / 1.569 GB, free: 5.574 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6338, allocations: 4 kB / 1.569 GB, free: 5.57 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.6341, allocations: 268.1 kB / 1.569 GB, free: 5.262 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.6344, allocations: 176.5 kB / 1.57 GB, free: 5.07 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.6345, allocations: 11.98 kB / 1.57 GB, free: 5.059 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.6348, allocations: 19.98 kB / 1.57 GB, free: 5.039 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.6349, allocations: 7.938 kB / 1.57 GB, free: 5.031 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.6349, allocations: 4 kB / 1.57 GB, free: 5.027 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009093/0.6358, allocations: 0.5927 MB / 1.57 GB, free: 4.438 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6358, allocations: 0 / 1.57 GB, free: 4.438 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0006103/0.6364, allocations: 159.8 kB / 1.57 GB, free: 4.281 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.0009744/0.6374, allocations: 0.8763 MB / 1.571 GB, free: 3.355 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005682/0.6379, allocations: 233.1 kB / 1.571 GB, free: 3.129 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6379, allocations: 0 / 1.571 GB, free: 3.129 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.638, allocations: 43.92 kB / 1.571 GB, free: 3.086 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.6397, allocations: 384.9 kB / 1.572 GB, free: 2.723 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.6478, allocations: 5.466 MB / 1.577 GB, free: 12.91 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.6485, allocations: 0.9408 MB / 1.578 GB, free: 11.94 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0005212/0.649, allocations: 154.1 kB / 1.578 GB, free: 11.79 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.6493, allocations: 227.4 kB / 1.578 GB, free: 11.56 MB / 1.279 GB Notification: Performance of SimCode: time 9.62e-07/0.6493, allocations: 3.938 kB / 1.578 GB, free: 11.56 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05087/0.7002, allocations: 18.06 MB / 1.596 GB, free: 9.848 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.916/9.616, allocations: 9.938 kB / 1.596 GB, free: 9.84 MB / 1.295 GB " [Timeout remaining time 290] (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: 16.811667813919485]