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.00141/0.00141, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001572/0.001572, allocations: 210.4 kB / 22.25 MB, free: 5.086 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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.822/2.822, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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.001858/0.001858, allocations: 66.45 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1966/0.4897, allocations: 191.1 MB / 1.513 GB, free: 2.141 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.5048, allocations: 13.21 MB / 1.525 GB, free: 4.891 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.5058, allocations: 43.62 kB / 1.525 GB, free: 4.848 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.507, allocations: 421.3 kB / 1.526 GB, free: 4.434 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.509, allocations: 0.9736 MB / 1.527 GB, free: 3.457 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.5106, allocations: 0.7366 MB / 1.528 GB, free: 2.727 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.5124, allocations: 1.512 MB / 1.529 GB, free: 1.211 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.5131, allocations: 0.5107 MB / 1.53 GB, free: 0.6797 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.5168, allocations: 1.927 MB / 1.531 GB, free: 14.75 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.518, allocations: 0.5236 MB / 1.532 GB, free: 14.23 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 8.558e-05/0.5181, allocations: 56 kB / 1.532 GB, free: 14.17 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5196, allocations: 0.9081 MB / 1.533 GB, free: 13.26 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.5198, allocations: 287.1 kB / 1.533 GB, free: 12.98 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.5202, allocations: 386 kB / 1.533 GB, free: 12.6 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.5217, allocations: 1.175 MB / 1.535 GB, free: 11.42 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5217, allocations: 0 / 1.535 GB, free: 11.42 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5217, allocations: 0 / 1.535 GB, free: 11.42 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.5217, allocations: 4 kB / 1.535 GB, free: 11.42 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.001434/0.5231, allocations: 1.006 MB / 1.536 GB, free: 10.38 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5232, allocations: 8.031 kB / 1.536 GB, free: 10.37 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.5233, allocations: 98.52 kB / 1.536 GB, free: 10.26 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008532/0.5241, allocations: 203.3 kB / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008289/0.5249, allocations: 495.8 kB / 1.536 GB, free: 9.555 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.525, allocations: 49.25 kB / 1.536 GB, free: 9.504 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.5251, allocations: 56 kB / 1.536 GB, free: 9.449 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5262, allocations: 0.7711 MB / 1.537 GB, free: 8.57 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.5262, allocations: 7.938 kB / 1.537 GB, free: 8.562 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.5263, allocations: 31.88 kB / 1.537 GB, free: 8.531 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.5263, allocations: 25 kB / 1.537 GB, free: 8.508 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.5272, allocations: 459.3 kB / 1.538 GB, free: 8.059 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.003849/0.531, allocations: 4.407 MB / 1.542 GB, free: 3.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5311, allocations: 102.4 kB / 1.542 GB, free: 3.273 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5312, allocations: 71.5 kB / 1.542 GB, free: 3.191 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.5314, allocations: 23.98 kB / 1.542 GB, free: 3.168 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5314, allocations: 38.5 kB / 1.542 GB, free: 3.121 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.5314, allocations: 0 / 1.542 GB, free: 3.121 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0006383/0.532, allocations: 253.2 kB / 1.543 GB, free: 2.867 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.5321, allocations: 136.4 kB / 1.543 GB, free: 2.703 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.5332, allocations: 0.837 MB / 1.543 GB, free: 1.855 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.5332, allocations: 33.7 kB / 1.543 GB, free: 1.816 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.5335, allocations: 403.7 kB / 1.544 GB, free: 1.418 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.5336, allocations: 51.7 kB / 1.544 GB, free: 1.367 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5337, allocations: 89.97 kB / 1.544 GB, free: 1.273 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5338, allocations: 325.9 kB / 1.544 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.5341, allocations: 108.7 kB / 1.544 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.5346, allocations: 366.3 kB / 1.545 GB, free: 380 kB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.5351, allocations: 433.6 kB / 1.545 GB, free: 15.84 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5351, allocations: 0 / 1.545 GB, free: 15.84 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008922/0.536, allocations: 0.4972 MB / 1.546 GB, free: 15.33 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.5361, allocations: 17.67 kB / 1.546 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5361, allocations: 8 kB / 1.546 GB, free: 15.31 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5361, allocations: 12 kB / 1.546 GB, free: 15.3 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.5364, allocations: 91.83 kB / 1.546 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.5364, allocations: 15.94 kB / 1.546 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.537, allocations: 123.2 kB / 1.546 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.537, allocations: 20.12 kB / 1.546 GB, free: 15.05 MB / 1.248 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.0002494/0.5373, allocations: 229.6 kB / 1.546 GB, free: 14.82 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5374, allocations: 79.48 kB / 1.546 GB, free: 14.74 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.5375, allocations: 74.27 kB / 1.546 GB, free: 14.66 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5375, allocations: 7.938 kB / 1.546 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5375, allocations: 4 kB / 1.546 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5375, allocations: 7.922 kB / 1.546 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.5388, allocations: 1.084 MB / 1.547 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.5389, allocations: 4 kB / 1.547 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.5389, allocations: 19.92 kB / 1.547 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5389, allocations: 4 kB / 1.547 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5389, allocations: 4 kB / 1.547 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.5389, allocations: 4 kB / 1.547 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.539, allocations: 4.25 kB / 1.547 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.5392, allocations: 276.2 kB / 1.548 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.5394, allocations: 103.3 kB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.5395, allocations: 7.984 kB / 1.548 GB, free: 13.01 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.5398, allocations: 15.98 kB / 1.548 GB, free: 13 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.5398, allocations: 16.39 kB / 1.548 GB, free: 12.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.5399, allocations: 8 kB / 1.548 GB, free: 12.97 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007691/0.5406, allocations: 0.5848 MB / 1.548 GB, free: 12.39 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5406, allocations: 0 / 1.548 GB, free: 12.39 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005013/0.5411, allocations: 159.8 kB / 1.549 GB, free: 12.23 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.0008465/0.542, allocations: 0.8784 MB / 1.549 GB, free: 11.3 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.5425, allocations: 232.8 kB / 1.55 GB, free: 11.08 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5425, allocations: 4 kB / 1.55 GB, free: 11.07 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.5425, allocations: 49.03 kB / 1.55 GB, free: 11.03 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.5439, allocations: 375.5 kB / 1.55 GB, free: 10.67 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/0.5509, allocations: 5.484 MB / 1.555 GB, free: 4.84 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.5514, allocations: 0.9331 MB / 1.556 GB, free: 3.879 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004591/0.5519, allocations: 154 kB / 1.556 GB, free: 3.727 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.5522, allocations: 231.4 kB / 1.557 GB, free: 3.5 MB / 1.248 GB Notification: Performance of SimCode: time 6.91e-07/0.5522, allocations: 0 / 1.557 GB, free: 3.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.6011, allocations: 18.4 MB / 1.575 GB, free: 1.453 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.45, allocations: 11.88 kB / 1.575 GB, free: 1.445 MB / 1.264 GB " [Timeout remaining time 288] (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: 17.404301715998372]