Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001319/0.001319, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001398/0.001398, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.392/1.392, allocations: 230.6 MB / 252.8 MB, free: 8.969 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 3.064/3.064, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_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.002014/0.002014, allocations: 70.14 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.222/0.5441, allocations: 190.7 MB / 1.507 GB, free: 3.848 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.5614, allocations: 13.1 MB / 1.52 GB, free: 6.707 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.5625, allocations: 43.62 kB / 1.52 GB, free: 6.664 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.5638, allocations: 421.3 kB / 1.52 GB, free: 6.25 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.5661, allocations: 0.9527 MB / 1.521 GB, free: 5.293 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.5679, allocations: 0.7233 MB / 1.522 GB, free: 4.574 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001949/0.5698, allocations: 1.485 MB / 1.523 GB, free: 3.086 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.5706, allocations: 0.5414 MB / 1.524 GB, free: 2.531 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/0.5745, allocations: 1.895 MB / 1.526 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.5757, allocations: 0.5295 MB / 1.526 GB, free: 104 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.255e-05/0.5758, allocations: 52 kB / 1.526 GB, free: 52 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.5774, allocations: 0.9003 MB / 1.527 GB, free: 15.15 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.5777, allocations: 275.1 kB / 1.528 GB, free: 14.88 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.5782, allocations: 390 kB / 1.528 GB, free: 14.5 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.5799, allocations: 1.179 MB / 1.529 GB, free: 13.31 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5799, allocations: 7.984 kB / 1.529 GB, free: 13.3 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5799, allocations: 0 / 1.529 GB, free: 13.3 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.5799, allocations: 0 / 1.529 GB, free: 13.3 MB / 1.232 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.001577/0.5815, allocations: 1.077 MB / 1.53 GB, free: 12.17 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5815, allocations: 11.98 kB / 1.53 GB, free: 12.16 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.5817, allocations: 106.5 kB / 1.53 GB, free: 12.05 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.5826, allocations: 191.3 kB / 1.53 GB, free: 11.86 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.5834, allocations: 0.5564 MB / 1.531 GB, free: 11.26 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.5835, allocations: 41.31 kB / 1.531 GB, free: 11.22 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.5835, allocations: 59.94 kB / 1.531 GB, free: 11.16 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5847, allocations: 0.7789 MB / 1.532 GB, free: 10.27 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.5848, allocations: 3.938 kB / 1.532 GB, free: 10.27 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.5848, allocations: 27.94 kB / 1.532 GB, free: 10.24 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.5849, allocations: 21 kB / 1.532 GB, free: 10.22 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.5858, allocations: 467.3 kB / 1.532 GB, free: 9.762 MB / 1.232 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.004282/0.5901, allocations: 4.464 MB / 1.537 GB, free: 5.051 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.5902, allocations: 106.4 kB / 1.537 GB, free: 4.91 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.5904, allocations: 71.5 kB / 1.537 GB, free: 4.828 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.5905, allocations: 97.09 kB / 1.537 GB, free: 4.715 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.5906, allocations: 34.5 kB / 1.537 GB, free: 4.672 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.5906, allocations: 4 kB / 1.537 GB, free: 4.668 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0006846/0.5913, allocations: 249 kB / 1.537 GB, free: 4.418 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.5913, allocations: 132.5 kB / 1.537 GB, free: 4.258 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.5926, allocations: 0.845 MB / 1.538 GB, free: 3.402 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.5926, allocations: 29.7 kB / 1.538 GB, free: 3.367 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.5929, allocations: 411.6 kB / 1.539 GB, free: 2.961 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.593, allocations: 43.69 kB / 1.539 GB, free: 2.918 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.5931, allocations: 89.97 kB / 1.539 GB, free: 2.824 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5933, allocations: 325.9 kB / 1.539 GB, free: 2.5 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.5936, allocations: 112.7 kB / 1.539 GB, free: 2.391 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.5941, allocations: 365.9 kB / 1.539 GB, free: 1.918 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.5948, allocations: 437.9 kB / 1.54 GB, free: 1.383 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5948, allocations: 0 / 1.54 GB, free: 1.383 MB / 1.232 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001006/0.5958, allocations: 0.5009 MB / 1.54 GB, free: 0.875 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5959, allocations: 9.562 kB / 1.54 GB, free: 0.8672 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5959, allocations: 8 kB / 1.54 GB, free: 0.8594 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.5959, allocations: 12 kB / 1.54 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.5962, allocations: 95.83 kB / 1.54 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.5962, allocations: 19.91 kB / 1.54 GB, free: 0.7344 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/0.5969, allocations: 115.6 kB / 1.541 GB, free: 0.6211 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.5969, allocations: 24 kB / 1.541 GB, free: 0.5977 MB / 1.232 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.0002714/0.5972, allocations: 229.5 kB / 1.541 GB, free: 372 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5974, allocations: 87.42 kB / 1.541 GB, free: 284 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.5975, allocations: 74.17 kB / 1.541 GB, free: 208 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5975, allocations: 4 kB / 1.541 GB, free: 204 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5975, allocations: 0 / 1.541 GB, free: 204 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5975, allocations: 3.938 kB / 1.541 GB, free: 200 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.5989, allocations: 1.113 MB / 1.542 GB, free: 14.99 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5989, allocations: 4 kB / 1.542 GB, free: 14.99 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.599, allocations: 16.06 kB / 1.542 GB, free: 14.97 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.599, allocations: 4.312 kB / 1.542 GB, free: 14.97 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.599, allocations: 16 kB / 1.542 GB, free: 14.95 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.599, allocations: 7.984 kB / 1.542 GB, free: 14.95 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.599, allocations: 3.938 kB / 1.542 GB, free: 14.94 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.5994, allocations: 268.2 kB / 1.542 GB, free: 14.63 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.5996, allocations: 176.5 kB / 1.543 GB, free: 14.44 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.5997, allocations: 7.984 kB / 1.543 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.6, allocations: 15.98 kB / 1.543 GB, free: 14.42 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.6, allocations: 15.94 kB / 1.543 GB, free: 14.4 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.6, allocations: 4 kB / 1.543 GB, free: 14.4 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008723/0.6009, allocations: 0.5927 MB / 1.543 GB, free: 13.81 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6009, allocations: 3.938 kB / 1.543 GB, free: 13.8 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005777/0.6015, allocations: 155.8 kB / 1.543 GB, free: 13.65 MB / 1.248 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.0009511/0.6024, allocations: 0.8741 MB / 1.544 GB, free: 12.73 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005236/0.6029, allocations: 241.1 kB / 1.544 GB, free: 12.5 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.603, allocations: 320 / 1.544 GB, free: 12.5 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.603, allocations: 51.86 kB / 1.544 GB, free: 12.45 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6046, allocations: 373.8 kB / 1.545 GB, free: 12.09 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.6124, allocations: 5.473 MB / 1.55 GB, free: 6.266 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.6131, allocations: 0.9409 MB / 1.551 GB, free: 5.297 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005129/0.6136, allocations: 150.1 kB / 1.551 GB, free: 5.148 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.6139, allocations: 231.4 kB / 1.551 GB, free: 4.922 MB / 1.248 GB Notification: Performance of SimCode: time 9.62e-07/0.6139, allocations: 0 / 1.551 GB, free: 4.922 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.6627, allocations: 18.07 MB / 1.569 GB, free: 3.203 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.244/9.907, allocations: 18.44 kB / 1.569 GB, free: 3.191 MB / 1.264 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.283654052065685]