Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 75.88 kB / 1.059 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2623, allocations: 160.7 MB / 1.216 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6779/0.9402, allocations: 188.1 MB / 1.399 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.9566, allocations: 13.17 MB / 1.412 GB, free: 128 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.9578, allocations: 31.81 kB / 1.412 GB, free: 116 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.9592, allocations: 425.4 kB / 1.413 GB, free: 15.76 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.9617, allocations: 0.9587 MB / 1.413 GB, free: 15.01 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.9637, allocations: 0.7305 MB / 1.414 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.9659, allocations: 1.508 MB / 1.416 GB, free: 13.61 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.9666, allocations: 0.4903 MB / 1.416 GB, free: 13.26 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.9702, allocations: 1.771 MB / 1.418 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.9715, allocations: 0.5495 MB / 1.418 GB, free: 11.76 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.9716, allocations: 54.56 kB / 1.418 GB, free: 11.76 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.9734, allocations: 0.9109 MB / 1.419 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.9737, allocations: 287.5 kB / 1.42 GB, free: 11.06 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.9742, allocations: 381.5 kB / 1.42 GB, free: 10.82 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.9759, allocations: 1.178 MB / 1.421 GB, free: 10.07 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.976, allocations: 4 kB / 1.421 GB, free: 10.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.723e-06/0.976, allocations: 0 / 1.421 GB, free: 10.07 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.976, allocations: 0 / 1.421 GB, free: 10.07 MB / 1.092 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.001594/0.9776, allocations: 1.067 MB / 1.422 GB, free: 9.191 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.9776, allocations: 14.03 kB / 1.422 GB, free: 9.188 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.9778, allocations: 107.7 kB / 1.422 GB, free: 9.094 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.9787, allocations: 200.8 kB / 1.422 GB, free: 8.996 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008574/0.9795, allocations: 0.5498 MB / 1.423 GB, free: 8.543 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.9796, allocations: 46.47 kB / 1.423 GB, free: 8.523 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.9796, allocations: 58.12 kB / 1.423 GB, free: 8.504 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.9807, allocations: 0.7682 MB / 1.424 GB, free: 7.887 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.9808, allocations: 6.844 kB / 1.424 GB, free: 7.883 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.9808, allocations: 39.03 kB / 1.424 GB, free: 7.852 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.9809, allocations: 21.84 kB / 1.424 GB, free: 7.852 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008517/0.9817, allocations: 463.4 kB / 1.424 GB, free: 7.629 MB / 1.092 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.004067/0.9858, allocations: 4.387 MB / 1.429 GB, free: 3.512 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.9859, allocations: 106.7 kB / 1.429 GB, free: 3.391 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.986, allocations: 75.22 kB / 1.429 GB, free: 3.332 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.9862, allocations: 93.66 kB / 1.429 GB, free: 3.234 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.9862, allocations: 36.84 kB / 1.429 GB, free: 3.191 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.9862, allocations: 0 / 1.429 GB, free: 3.191 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006237/0.9868, allocations: 247.7 kB / 1.429 GB, free: 3.055 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.9869, allocations: 132.5 kB / 1.429 GB, free: 2.895 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.988, allocations: 0.8459 MB / 1.43 GB, free: 2.426 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.988, allocations: 28.27 kB / 1.43 GB, free: 2.395 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.9883, allocations: 409.3 kB / 1.431 GB, free: 2.035 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.9884, allocations: 36.69 kB / 1.431 GB, free: 2.004 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.9885, allocations: 96.16 kB / 1.431 GB, free: 1.941 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9886, allocations: 320.7 kB / 1.431 GB, free: 1.625 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.9889, allocations: 117.4 kB / 1.431 GB, free: 1.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.9893, allocations: 361.9 kB / 1.431 GB, free: 1.191 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.9899, allocations: 445.4 kB / 1.432 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9899, allocations: 6.625 kB / 1.432 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009015/0.9908, allocations: 0.5016 MB / 1.432 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.9908, allocations: 7.531 kB / 1.432 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.9908, allocations: 7.938 kB / 1.432 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9908, allocations: 10.44 kB / 1.432 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.9911, allocations: 90.64 kB / 1.433 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.9911, allocations: 14.09 kB / 1.433 GB, free: 484 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.9918, allocations: 125.4 kB / 1.433 GB, free: 404 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.9918, allocations: 28.75 kB / 1.433 GB, free: 396 kB / 1.092 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.0002397/0.992, allocations: 224.3 kB / 1.433 GB, free: 212 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.9922, allocations: 83.27 kB / 1.433 GB, free: 164 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.685e-05/0.9923, allocations: 70.22 kB / 1.433 GB, free: 120 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9923, allocations: 7.234 kB / 1.433 GB, free: 116 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9923, allocations: 0 / 1.433 GB, free: 116 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9923, allocations: 2.125 kB / 1.433 GB, free: 116 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.9936, allocations: 1.127 MB / 1.434 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9936, allocations: 5.375 kB / 1.434 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.9937, allocations: 18.91 kB / 1.434 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9937, allocations: 7.484 kB / 1.434 GB, free: 15.1 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.9937, allocations: 6.719 kB / 1.434 GB, free: 15.1 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.9937, allocations: 6.078 kB / 1.434 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9937, allocations: 2.812 kB / 1.434 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.994, allocations: 268 kB / 1.434 GB, free: 14.87 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.9942, allocations: 172.1 kB / 1.435 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.9943, allocations: 2.75 kB / 1.435 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.9946, allocations: 26.25 kB / 1.435 GB, free: 14.69 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.9947, allocations: 12.69 kB / 1.435 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.9947, allocations: 4.75 kB / 1.435 GB, free: 14.68 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007926/0.9954, allocations: 0.5916 MB / 1.435 GB, free: 14.23 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9955, allocations: 4 kB / 1.435 GB, free: 14.23 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005397/0.996, allocations: 155.8 kB / 1.435 GB, free: 14.07 MB / 1.107 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.0009967/0.997, allocations: 0.8971 MB / 1.436 GB, free: 13.14 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.9975, allocations: 241.2 kB / 1.436 GB, free: 12.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9975, allocations: 0 / 1.436 GB, free: 12.91 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.9976, allocations: 47.86 kB / 1.437 GB, free: 12.86 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.9991, allocations: 374.4 kB / 1.437 GB, free: 12.51 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007328/1.006, allocations: 5.469 MB / 1.442 GB, free: 6.684 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/1.007, allocations: 0.937 MB / 1.443 GB, free: 5.719 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004269/1.007, allocations: 146.1 kB / 1.443 GB, free: 5.574 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/1.008, allocations: 227.4 kB / 1.443 GB, free: 5.352 MB / 1.107 GB Notification: Performance of SimCode: time 5.51e-07/1.008, allocations: 0 / 1.443 GB, free: 5.352 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/1.055, allocations: 18.06 MB / 1.461 GB, free: 3.625 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.183, allocations: 3.984 kB / 1.461 GB, free: 3.621 MB / 1.123 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.47010399300052]