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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5569, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1822/0.7391, allocations: 187.1 MB / 1.2 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.7539, allocations: 13.02 MB / 1.213 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008808/0.7548, allocations: 31.81 kB / 1.213 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.756, allocations: 409.3 kB / 1.213 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.7581, allocations: 0.9136 MB / 1.214 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.7598, allocations: 0.7057 MB / 1.215 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.7616, allocations: 1.502 MB / 1.216 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008887/0.7625, allocations: 0.6586 MB / 1.217 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003248/0.7657, allocations: 1.716 MB / 1.219 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.7669, allocations: 0.5166 MB / 1.219 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.767, allocations: 52 kB / 1.219 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.7686, allocations: 0.8614 MB / 1.22 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.7689, allocations: 283.2 kB / 1.22 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.7693, allocations: 382 kB / 1.221 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.7708, allocations: 1.153 MB / 1.222 GB, free: 432 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7708, allocations: 0 / 1.222 GB, free: 432 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7708, allocations: 0 / 1.222 GB, free: 432 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.7708, allocations: 0 / 1.222 GB, free: 432 kB / 0.9669 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.001343/0.7722, allocations: 1.056 MB / 1.223 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7722, allocations: 8.031 kB / 1.223 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.908e-05/0.7723, allocations: 102.5 kB / 1.223 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/0.7733, allocations: 190.8 kB / 1.223 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.774, allocations: 0.5208 MB / 1.224 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.7743, allocations: 101.2 kB / 1.224 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.7744, allocations: 56 kB / 1.224 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.7755, allocations: 0.775 MB / 1.225 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.7755, allocations: 11.88 kB / 1.225 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.7756, allocations: 24 kB / 1.225 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.7756, allocations: 24.98 kB / 1.225 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.7766, allocations: 475.3 kB / 1.225 GB, free: 12.88 MB / 0.9825 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.003518/0.7801, allocations: 4.413 MB / 1.229 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.7803, allocations: 98.36 kB / 1.229 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.571e-05/0.7804, allocations: 75.59 kB / 1.23 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.7805, allocations: 97.09 kB / 1.23 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.7806, allocations: 42.5 kB / 1.23 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.7806, allocations: 0 / 1.23 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006221/0.7812, allocations: 241 kB / 1.23 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.7813, allocations: 132.8 kB / 1.23 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.7823, allocations: 0.8485 MB / 1.231 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7824, allocations: 29.7 kB / 1.231 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.7827, allocations: 406.9 kB / 1.231 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.7827, allocations: 43.52 kB / 1.231 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.7829, allocations: 85.89 kB / 1.231 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.783, allocations: 329.9 kB / 1.232 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.7833, allocations: 116.7 kB / 1.232 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.7838, allocations: 365.7 kB / 1.232 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.7844, allocations: 449.5 kB / 1.233 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7844, allocations: 0 / 1.233 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009705/0.7854, allocations: 0.5045 MB / 1.233 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7854, allocations: 8 kB / 1.233 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7854, allocations: 11.94 kB / 1.233 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7855, allocations: 8 kB / 1.233 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.7858, allocations: 100.2 kB / 1.233 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.7858, allocations: 19.92 kB / 1.233 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.7865, allocations: 127 kB / 1.233 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.7865, allocations: 27.98 kB / 1.233 GB, free: 3.758 MB / 0.9825 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.00022/0.7868, allocations: 227.1 kB / 1.234 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.7869, allocations: 75.06 kB / 1.234 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/0.787, allocations: 70.17 kB / 1.234 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.787, allocations: 4 kB / 1.234 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.787, allocations: 0 / 1.234 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.787, allocations: 11.94 kB / 1.234 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.7882, allocations: 1.116 MB / 1.235 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.7882, allocations: 4 kB / 1.235 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.7883, allocations: 19.98 kB / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7883, allocations: 0 / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.7884, allocations: 4 kB / 1.235 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7884, allocations: 4.125 kB / 1.235 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.7884, allocations: 11.94 kB / 1.235 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.7887, allocations: 264.2 kB / 1.235 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.7888, allocations: 172.1 kB / 1.235 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.7889, allocations: 4 kB / 1.235 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.7893, allocations: 19.98 kB / 1.235 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.7893, allocations: 19.86 kB / 1.235 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7893, allocations: 8 kB / 1.235 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007848/0.7901, allocations: 0.5888 MB / 1.236 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7901, allocations: 4 kB / 1.236 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005318/0.7907, allocations: 159.7 kB / 1.236 GB, free: 0.8359 MB / 0.9825 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.0007944/0.7915, allocations: 0.8916 MB / 1.237 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.792, allocations: 249.2 kB / 1.237 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.792, allocations: 0 / 1.237 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.7921, allocations: 47.86 kB / 1.237 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.7937, allocations: 392.9 kB / 1.238 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.8004, allocations: 5.728 MB / 1.243 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.8009, allocations: 0.937 MB / 1.244 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004723/0.8013, allocations: 146.1 kB / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.8016, allocations: 231.4 kB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8016, allocations: 0 / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4467/1.248, allocations: 17.82 MB / 1.262 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.908, allocations: 3.688 kB / 1.262 GB, free: 231.6 MB / 0.9981 GB (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 50 --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) 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) Reference file matches