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.001545/0.001545, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00167/0.00167, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.812 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.001/3.001, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 177] 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.002003/0.002003, allocations: 68.5 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1887/0.5187, allocations: 165.5 MB / 1.525 GB, free: 7.965 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01567/0.5344, allocations: 11.97 MB / 1.537 GB, free: 11.96 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.5355, allocations: 43.62 kB / 1.537 GB, free: 11.92 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.5368, allocations: 409.3 kB / 1.537 GB, free: 11.52 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.5392, allocations: 0.9449 MB / 1.538 GB, free: 10.57 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.5411, allocations: 0.7401 MB / 1.539 GB, free: 9.832 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.5431, allocations: 1.504 MB / 1.54 GB, free: 8.324 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007783/0.5439, allocations: 0.4912 MB / 1.541 GB, free: 7.812 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.5477, allocations: 1.868 MB / 1.543 GB, free: 5.938 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.549, allocations: 0.4971 MB / 1.543 GB, free: 5.445 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.5491, allocations: 56 kB / 1.543 GB, free: 5.391 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.5505, allocations: 0.7132 MB / 1.544 GB, free: 4.676 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.5508, allocations: 283.1 kB / 1.544 GB, free: 4.398 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.5511, allocations: 314.5 kB / 1.544 GB, free: 4.09 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.5527, allocations: 1.164 MB / 1.546 GB, free: 2.922 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5527, allocations: 4 kB / 1.546 GB, free: 2.918 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5527, allocations: 0 / 1.546 GB, free: 2.918 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.5527, allocations: 4 kB / 1.546 GB, free: 2.914 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.001445/0.5542, allocations: 0.9983 MB / 1.547 GB, free: 1.879 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5542, allocations: 8.031 kB / 1.547 GB, free: 1.871 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.5543, allocations: 102.5 kB / 1.547 GB, free: 1.762 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.5552, allocations: 203.2 kB / 1.547 GB, free: 1.562 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.5561, allocations: 0.4958 MB / 1.547 GB, free: 1.047 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.5562, allocations: 41.31 kB / 1.547 GB, free: 1.004 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.5563, allocations: 56 kB / 1.547 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5574, allocations: 0.7962 MB / 1.548 GB, free: 40 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.5574, allocations: 11.94 kB / 1.548 GB, free: 28 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.5575, allocations: 27.94 kB / 1.548 GB, free: 0 / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.5575, allocations: 25.05 kB / 1.548 GB, free: 15.97 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.5584, allocations: 459.2 kB / 1.549 GB, free: 15.52 MB / 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.003733/0.5622, allocations: 4.006 MB / 1.553 GB, free: 11.34 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.5623, allocations: 102.4 kB / 1.553 GB, free: 11.2 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.5624, allocations: 79.42 kB / 1.553 GB, free: 11.11 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.5625, allocations: 19.98 kB / 1.553 GB, free: 11.09 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5626, allocations: 34.56 kB / 1.553 GB, free: 11.05 MB / 1.248 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.5626, allocations: 0 / 1.553 GB, free: 11.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=10): time 0.000654/0.5632, allocations: 249.2 kB / 1.553 GB, free: 10.8 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.5633, allocations: 132.5 kB / 1.553 GB, free: 10.64 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5644, allocations: 0.8563 MB / 1.554 GB, free: 9.777 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.5644, allocations: 25.7 kB / 1.554 GB, free: 9.746 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.5648, allocations: 415.6 kB / 1.554 GB, free: 9.336 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.5648, allocations: 43.69 kB / 1.554 GB, free: 9.293 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.5649, allocations: 89.97 kB / 1.555 GB, free: 9.199 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5651, allocations: 325.9 kB / 1.555 GB, free: 8.875 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.5653, allocations: 112.6 kB / 1.555 GB, free: 8.766 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.5659, allocations: 0.5078 MB / 1.555 GB, free: 8.105 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.5665, allocations: 441.5 kB / 1.556 GB, free: 7.566 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5665, allocations: 8 kB / 1.556 GB, free: 7.559 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009043/0.5674, allocations: 0.4932 MB / 1.556 GB, free: 7.059 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5674, allocations: 8 kB / 1.556 GB, free: 7.051 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.5674, allocations: 11.98 kB / 1.556 GB, free: 7.039 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5674, allocations: 12 kB / 1.556 GB, free: 7.027 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.5677, allocations: 95.83 kB / 1.556 GB, free: 6.934 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.5678, allocations: 11.94 kB / 1.556 GB, free: 6.922 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/0.5684, allocations: 123.4 kB / 1.557 GB, free: 6.801 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.5684, allocations: 24 kB / 1.557 GB, free: 6.777 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.0002594/0.5687, allocations: 225.6 kB / 1.557 GB, free: 6.547 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.5688, allocations: 79.48 kB / 1.557 GB, free: 6.469 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.5689, allocations: 74.27 kB / 1.557 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5689, allocations: 4 kB / 1.557 GB, free: 6.387 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5689, allocations: 4 kB / 1.557 GB, free: 6.387 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.569, allocations: 12.39 kB / 1.557 GB, free: 6.375 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5703, allocations: 1.038 MB / 1.558 GB, free: 5.254 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5703, allocations: 7.938 kB / 1.558 GB, free: 5.246 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.5704, allocations: 12.31 kB / 1.558 GB, free: 5.234 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5704, allocations: 11.94 kB / 1.558 GB, free: 5.223 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5704, allocations: 4 kB / 1.558 GB, free: 5.219 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.5704, allocations: 7.984 kB / 1.558 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5704, allocations: 0 / 1.558 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.5707, allocations: 272.2 kB / 1.558 GB, free: 4.898 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.5709, allocations: 99.44 kB / 1.558 GB, free: 4.801 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.571, allocations: 4 kB / 1.558 GB, free: 4.797 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.5714, allocations: 19.98 kB / 1.558 GB, free: 4.777 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.5714, allocations: 19.86 kB / 1.558 GB, free: 4.758 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.5714, allocations: 4 kB / 1.558 GB, free: 4.754 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007994/0.5722, allocations: 0.5849 MB / 1.559 GB, free: 4.172 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5722, allocations: 0 / 1.559 GB, free: 4.172 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005698/0.5728, allocations: 155.8 kB / 1.559 GB, free: 4.02 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.0009363/0.5737, allocations: 0.8747 MB / 1.56 GB, free: 3.098 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.5742, allocations: 237.4 kB / 1.56 GB, free: 2.867 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5742, allocations: 3.938 kB / 1.56 GB, free: 2.863 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.5743, allocations: 47.84 kB / 1.56 GB, free: 2.816 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5758, allocations: 379 kB / 1.561 GB, free: 2.457 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.5828, allocations: 5.474 MB / 1.566 GB, free: 12.62 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.5832, allocations: 340.6 kB / 1.566 GB, free: 12.26 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000478/0.5836, allocations: 150.1 kB / 1.567 GB, free: 12.11 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.5839, allocations: 231.4 kB / 1.567 GB, free: 11.89 MB / 1.264 GB Notification: Performance of SimCode: time 5.71e-07/0.5839, allocations: 0 / 1.567 GB, free: 11.89 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.6351, allocations: 20.07 MB / 1.586 GB, free: 8.32 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.62, allocations: 21.22 kB / 1.586 GB, free: 8.309 MB / 1.279 GB " [Timeout remaining time 288] (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: 17.8725753063336]