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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007388/0.007388, allocations: 98.72 kB / 15.73 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 197.7 kB / 16.67 MB, free: 5.531 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 68.36 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 162.2 MB / 1.241 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2025/0.4998, allocations: 187.2 MB / 1.424 GB, free: 13.37 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.5158, allocations: 13.03 MB / 1.437 GB, free: 312 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008709/0.5167, allocations: 31.81 kB / 1.437 GB, free: 280 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.5179, allocations: 413.3 kB / 1.437 GB, free: 15.87 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.52, allocations: 0.9136 MB / 1.438 GB, free: 14.95 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.5218, allocations: 0.7038 MB / 1.439 GB, free: 14.25 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.5236, allocations: 1.492 MB / 1.44 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.5245, allocations: 0.6702 MB / 1.441 GB, free: 12.07 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.5282, allocations: 1.817 MB / 1.443 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.5294, allocations: 0.4967 MB / 1.443 GB, free: 9.75 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.5295, allocations: 59.94 kB / 1.443 GB, free: 9.691 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.531, allocations: 0.8575 MB / 1.444 GB, free: 8.832 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.5314, allocations: 279.2 kB / 1.445 GB, free: 8.559 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.5318, allocations: 394 kB / 1.445 GB, free: 8.168 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.5334, allocations: 1.175 MB / 1.446 GB, free: 6.988 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5334, allocations: 0 / 1.446 GB, free: 6.988 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5334, allocations: 0 / 1.446 GB, free: 6.988 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5335, allocations: 0 / 1.446 GB, free: 6.988 MB / 1.17 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.001428/0.5349, allocations: 1.077 MB / 1.447 GB, free: 5.855 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.5349, allocations: 12.03 kB / 1.447 GB, free: 5.844 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.5351, allocations: 102.5 kB / 1.447 GB, free: 5.734 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.536, allocations: 199.2 kB / 1.447 GB, free: 5.539 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.5368, allocations: 0.5447 MB / 1.448 GB, free: 4.957 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.5369, allocations: 53.23 kB / 1.448 GB, free: 4.906 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.5369, allocations: 52 kB / 1.448 GB, free: 4.855 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.5382, allocations: 0.7789 MB / 1.449 GB, free: 3.961 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5382, allocations: 3.938 kB / 1.449 GB, free: 3.957 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/0.5382, allocations: 31.94 kB / 1.449 GB, free: 3.926 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.5383, allocations: 21 kB / 1.449 GB, free: 3.906 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.5392, allocations: 467.3 kB / 1.449 GB, free: 3.445 MB / 1.17 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.004008/0.5432, allocations: 4.462 MB / 1.454 GB, free: 14.73 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.5434, allocations: 102.4 kB / 1.454 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.5435, allocations: 71.59 kB / 1.454 GB, free: 14.51 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.5437, allocations: 97.09 kB / 1.454 GB, free: 14.4 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5437, allocations: 42.48 kB / 1.454 GB, free: 14.35 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.5437, allocations: 0 / 1.454 GB, free: 14.35 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006513/0.5444, allocations: 245.1 kB / 1.454 GB, free: 14.1 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.5445, allocations: 132.5 kB / 1.454 GB, free: 13.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.5456, allocations: 0.845 MB / 1.455 GB, free: 13.09 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5457, allocations: 25.7 kB / 1.455 GB, free: 13.05 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.546, allocations: 419.6 kB / 1.456 GB, free: 12.64 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.5461, allocations: 43.69 kB / 1.456 GB, free: 12.6 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.5462, allocations: 89.97 kB / 1.456 GB, free: 12.5 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5463, allocations: 321.9 kB / 1.456 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.5466, allocations: 116.7 kB / 1.456 GB, free: 12.07 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.5471, allocations: 369.7 kB / 1.456 GB, free: 11.59 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.5478, allocations: 441.5 kB / 1.457 GB, free: 11.05 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5478, allocations: 0 / 1.457 GB, free: 11.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009634/0.5487, allocations: 0.4968 MB / 1.457 GB, free: 10.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5488, allocations: 8 kB / 1.457 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5488, allocations: 8 kB / 1.457 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.5488, allocations: 12 kB / 1.457 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.5492, allocations: 92.39 kB / 1.457 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.5492, allocations: 23.92 kB / 1.457 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.5498, allocations: 111.2 kB / 1.458 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.5499, allocations: 24 kB / 1.458 GB, free: 10.28 MB / 1.186 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.0002589/0.5502, allocations: 233.6 kB / 1.458 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5503, allocations: 75.53 kB / 1.458 GB, free: 9.965 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.5504, allocations: 74.17 kB / 1.458 GB, free: 9.891 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5504, allocations: 4 kB / 1.458 GB, free: 9.887 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5505, allocations: 0 / 1.458 GB, free: 9.887 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5505, allocations: 3.938 kB / 1.458 GB, free: 9.883 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.5518, allocations: 1.12 MB / 1.459 GB, free: 8.672 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5518, allocations: 448 / 1.459 GB, free: 8.672 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.5519, allocations: 31.92 kB / 1.459 GB, free: 8.641 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.552, allocations: 4 kB / 1.459 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.552, allocations: 8 kB / 1.459 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.552, allocations: 4 kB / 1.459 GB, free: 8.625 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.552, allocations: 3.938 kB / 1.459 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.5523, allocations: 264.2 kB / 1.459 GB, free: 8.316 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.5525, allocations: 177 kB / 1.46 GB, free: 8.125 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.5526, allocations: 8 kB / 1.46 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.5529, allocations: 15.98 kB / 1.46 GB, free: 8.102 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.553, allocations: 11.92 kB / 1.46 GB, free: 8.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.553, allocations: 12 kB / 1.46 GB, free: 8.078 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008477/0.5539, allocations: 0.5887 MB / 1.46 GB, free: 7.492 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5539, allocations: 7.938 kB / 1.46 GB, free: 7.484 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005543/0.5544, allocations: 159.8 kB / 1.46 GB, free: 7.328 MB / 1.186 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.0009186/0.5554, allocations: 0.8805 MB / 1.461 GB, free: 6.406 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.5559, allocations: 249.1 kB / 1.461 GB, free: 6.164 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5559, allocations: 0 / 1.461 GB, free: 6.164 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.556, allocations: 43.86 kB / 1.461 GB, free: 6.121 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.5576, allocations: 394.6 kB / 1.462 GB, free: 5.746 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.5649, allocations: 5.454 MB / 1.467 GB, free: 15.94 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.5655, allocations: 0.9447 MB / 1.468 GB, free: 14.97 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004598/0.566, allocations: 146.1 kB / 1.468 GB, free: 14.82 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.5663, allocations: 227.4 kB / 1.468 GB, free: 14.6 MB / 1.201 GB Notification: Performance of SimCode: time 5.11e-07/0.5663, allocations: 0 / 1.468 GB, free: 14.6 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.6099, allocations: 17.98 MB / 1.486 GB, free: 12.99 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.823/9.433, allocations: 19.83 kB / 1.486 GB, free: 12.96 MB / 1.217 GB (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 400 --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) 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) Reference file matches