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.001598/0.001598, allocations: 103.6 kB / 18.95 MB, free: 2.652 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.001879/0.001879, allocations: 218.2 kB / 22.25 MB, free: 5.266 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.781 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.075/3.075, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.001956/0.001956, allocations: 71.25 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1983/0.5083, allocations: 165.5 MB / 1.487 GB, free: 11.36 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.5251, allocations: 11.98 MB / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.5267, allocations: 39.69 kB / 1.499 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.5285, allocations: 409.3 kB / 1.5 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.5315, allocations: 0.9566 MB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.5335, allocations: 0.7194 MB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.5357, allocations: 1.532 MB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.5365, allocations: 0.4952 MB / 1.503 GB, free: 11.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.5406, allocations: 1.884 MB / 1.505 GB, free: 9.289 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.542, allocations: 0.533 MB / 1.506 GB, free: 8.762 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.983e-05/0.5421, allocations: 52 kB / 1.506 GB, free: 8.711 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.5436, allocations: 0.7366 MB / 1.506 GB, free: 7.973 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.5439, allocations: 279.1 kB / 1.507 GB, free: 7.699 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.5442, allocations: 314.5 kB / 1.507 GB, free: 7.391 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.5458, allocations: 1.167 MB / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5458, allocations: 0 / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5458, allocations: 0 / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.5458, allocations: 4 kB / 1.508 GB, free: 6.215 MB / 1.201 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.001477/0.5473, allocations: 1.008 MB / 1.509 GB, free: 5.172 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5473, allocations: 8.031 kB / 1.509 GB, free: 5.164 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.5474, allocations: 102.5 kB / 1.509 GB, free: 5.055 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.5483, allocations: 195.3 kB / 1.509 GB, free: 4.863 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.5492, allocations: 495.8 kB / 1.51 GB, free: 4.355 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.5493, allocations: 45.31 kB / 1.51 GB, free: 4.309 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.5493, allocations: 59.98 kB / 1.51 GB, free: 4.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.5505, allocations: 0.7962 MB / 1.511 GB, free: 3.34 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.5506, allocations: 3.938 kB / 1.511 GB, free: 3.336 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.5506, allocations: 35.88 kB / 1.511 GB, free: 3.301 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.5507, allocations: 28.98 kB / 1.511 GB, free: 3.273 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.5516, allocations: 459.3 kB / 1.511 GB, free: 2.824 MB / 1.201 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.004002/0.5556, allocations: 3.998 MB / 1.515 GB, free: 14.65 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.5557, allocations: 98.3 kB / 1.515 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.5558, allocations: 79.58 kB / 1.515 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.556, allocations: 15.98 kB / 1.515 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.556, allocations: 38.56 kB / 1.515 GB, free: 14.37 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.556, allocations: 3.938 kB / 1.515 GB, free: 14.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006856/0.5567, allocations: 245 kB / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.5568, allocations: 136.5 kB / 1.516 GB, free: 13.95 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.5579, allocations: 0.8527 MB / 1.517 GB, free: 13.09 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.5579, allocations: 33.7 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.5582, allocations: 403.7 kB / 1.517 GB, free: 12.65 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.5583, allocations: 47.67 kB / 1.517 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.5584, allocations: 85.98 kB / 1.517 GB, free: 12.52 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5586, allocations: 329.9 kB / 1.517 GB, free: 12.19 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.5588, allocations: 108.7 kB / 1.518 GB, free: 12.08 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.5594, allocations: 0.5123 MB / 1.518 GB, free: 11.42 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.56, allocations: 437.5 kB / 1.518 GB, free: 10.88 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.56, allocations: 0 / 1.518 GB, free: 10.88 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009227/0.5609, allocations: 0.4973 MB / 1.519 GB, free: 10.38 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.5609, allocations: 12 kB / 1.519 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5609, allocations: 8.125 kB / 1.519 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.5609, allocations: 12 kB / 1.519 GB, free: 10.35 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.5613, allocations: 99.81 kB / 1.519 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.5613, allocations: 15.94 kB / 1.519 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.5619, allocations: 123.2 kB / 1.519 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.5619, allocations: 31.92 kB / 1.519 GB, free: 10.08 MB / 1.217 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.0002729/0.5622, allocations: 225.6 kB / 1.519 GB, free: 9.852 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5623, allocations: 75.53 kB / 1.519 GB, free: 9.777 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.5625, allocations: 70.27 kB / 1.52 GB, free: 9.703 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5625, allocations: 7.938 kB / 1.52 GB, free: 9.695 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5625, allocations: 0 / 1.52 GB, free: 9.695 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5625, allocations: 7.938 kB / 1.52 GB, free: 9.688 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5638, allocations: 1.042 MB / 1.521 GB, free: 8.562 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5638, allocations: 0 / 1.521 GB, free: 8.562 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.5639, allocations: 23.92 kB / 1.521 GB, free: 8.539 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.5639, allocations: 4 kB / 1.521 GB, free: 8.535 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5639, allocations: 8.312 kB / 1.521 GB, free: 8.527 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5639, allocations: 4 kB / 1.521 GB, free: 8.523 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5639, allocations: 4 kB / 1.521 GB, free: 8.52 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.5642, allocations: 272.1 kB / 1.521 GB, free: 8.207 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.5644, allocations: 95.48 kB / 1.521 GB, free: 8.113 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.5645, allocations: 4 kB / 1.521 GB, free: 8.109 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.5648, allocations: 16.45 kB / 1.521 GB, free: 8.094 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.5648, allocations: 19.92 kB / 1.521 GB, free: 8.074 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.5648, allocations: 8 kB / 1.521 GB, free: 8.066 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007915/0.5656, allocations: 0.581 MB / 1.522 GB, free: 7.488 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5656, allocations: 0 / 1.522 GB, free: 7.488 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000564/0.5662, allocations: 159.8 kB / 1.522 GB, free: 7.332 MB / 1.217 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.0009112/0.5671, allocations: 0.8873 MB / 1.523 GB, free: 6.398 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.5676, allocations: 237.1 kB / 1.523 GB, free: 6.168 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5676, allocations: 0 / 1.523 GB, free: 6.168 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.5677, allocations: 43.91 kB / 1.523 GB, free: 6.125 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5693, allocations: 384.5 kB / 1.523 GB, free: 5.762 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.5764, allocations: 5.466 MB / 1.529 GB, free: 15.95 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.5768, allocations: 348.6 kB / 1.529 GB, free: 15.58 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004816/0.5772, allocations: 154 kB / 1.529 GB, free: 15.43 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.5775, allocations: 235.3 kB / 1.529 GB, free: 15.2 MB / 1.232 GB Notification: Performance of SimCode: time 6.01e-07/0.5775, allocations: 0 / 1.529 GB, free: 15.2 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05207/0.6296, allocations: 20.2 MB / 1.549 GB, free: 11.47 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.58, allocations: 15.69 kB / 1.549 GB, free: 11.46 MB / 1.248 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: 18.042296058993088]