Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_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.007934/0.007934, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001857/0.001857, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.119/2.119, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7053, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1989/0.9042, allocations: 187.1 MB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.919, allocations: 13.02 MB / 1.283 GB, free: 5.559 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.9203, allocations: 31.81 kB / 1.283 GB, free: 5.527 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.9215, allocations: 413.3 kB / 1.283 GB, free: 5.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.9236, allocations: 0.9175 MB / 1.284 GB, free: 4.199 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.9253, allocations: 0.7085 MB / 1.285 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.927, allocations: 1.508 MB / 1.286 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008105/0.9278, allocations: 0.6585 MB / 1.287 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.9312, allocations: 1.716 MB / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.9323, allocations: 0.4991 MB / 1.289 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.9324, allocations: 52 kB / 1.289 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.9339, allocations: 0.877 MB / 1.29 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.9341, allocations: 287.2 kB / 1.29 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.9345, allocations: 382 kB / 1.291 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.9359, allocations: 1.18 MB / 1.292 GB, free: 12.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9359, allocations: 0 / 1.292 GB, free: 12.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.936, allocations: 3.938 kB / 1.292 GB, free: 12.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.936, allocations: 0 / 1.292 GB, free: 12.32 MB / 1.029 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.001365/0.9373, allocations: 1.04 MB / 1.293 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.9374, allocations: 12.03 kB / 1.293 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.9375, allocations: 106.4 kB / 1.293 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009161/0.9384, allocations: 194.8 kB / 1.293 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008031/0.9392, allocations: 0.5442 MB / 1.294 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.9393, allocations: 45.31 kB / 1.294 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.9394, allocations: 59.98 kB / 1.294 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.9404, allocations: 0.7789 MB / 1.295 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.9405, allocations: 7.938 kB / 1.295 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.9405, allocations: 27.94 kB / 1.295 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.9406, allocations: 25 kB / 1.295 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.9414, allocations: 463.3 kB / 1.295 GB, free: 8.828 MB / 1.029 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.003535/0.945, allocations: 4.37 MB / 1.299 GB, free: 4.227 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.9451, allocations: 110.4 kB / 1.299 GB, free: 4.082 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.9452, allocations: 75.5 kB / 1.3 GB, free: 3.996 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.9454, allocations: 97.08 kB / 1.3 GB, free: 3.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.9454, allocations: 38.5 kB / 1.3 GB, free: 3.836 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.9454, allocations: 0 / 1.3 GB, free: 3.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006324/0.9461, allocations: 244.6 kB / 1.3 GB, free: 3.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.9462, allocations: 132.5 kB / 1.3 GB, free: 3.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.9472, allocations: 0.8411 MB / 1.301 GB, free: 2.574 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.9472, allocations: 29.7 kB / 1.301 GB, free: 2.539 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.9475, allocations: 402.8 kB / 1.301 GB, free: 2.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.9476, allocations: 39.55 kB / 1.301 GB, free: 2.102 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.9477, allocations: 89.88 kB / 1.301 GB, free: 2.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9478, allocations: 325.9 kB / 1.302 GB, free: 1.684 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.9481, allocations: 112.7 kB / 1.302 GB, free: 1.574 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.9486, allocations: 358 kB / 1.302 GB, free: 1.109 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.9491, allocations: 445.5 kB / 1.303 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9491, allocations: 0 / 1.303 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008637/0.95, allocations: 0.5002 MB / 1.303 GB, free: 60 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.95, allocations: 8 kB / 1.303 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.95, allocations: 8 kB / 1.303 GB, free: 44 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.9501, allocations: 12 kB / 1.303 GB, free: 32 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.9504, allocations: 100.5 kB / 1.303 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.9504, allocations: 15.92 kB / 1.303 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.9511, allocations: 111 kB / 1.303 GB, free: 15.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.9511, allocations: 32 kB / 1.303 GB, free: 15.78 MB / 1.045 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.0002413/0.9514, allocations: 225.6 kB / 1.304 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.9515, allocations: 83 kB / 1.304 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.9516, allocations: 70.17 kB / 1.304 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.9516, allocations: 4 kB / 1.304 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9516, allocations: 0 / 1.304 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9516, allocations: 3.938 kB / 1.304 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.9529, allocations: 1.121 MB / 1.305 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9529, allocations: 8.062 kB / 1.305 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.953, allocations: 19.94 kB / 1.305 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.953, allocations: 4 kB / 1.305 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.953, allocations: 7.984 kB / 1.305 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.953, allocations: 4 kB / 1.305 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.953, allocations: 0 / 1.305 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.9533, allocations: 268.2 kB / 1.305 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.9535, allocations: 168.2 kB / 1.305 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.9536, allocations: 11.98 kB / 1.305 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.9539, allocations: 11.98 kB / 1.305 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.954, allocations: 15.94 kB / 1.305 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.954, allocations: 7.984 kB / 1.305 GB, free: 13.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007548/0.9547, allocations: 0.5927 MB / 1.306 GB, free: 13.01 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9547, allocations: 0 / 1.306 GB, free: 13.01 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005399/0.9553, allocations: 155.8 kB / 1.306 GB, free: 12.86 MB / 1.045 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.0008098/0.9561, allocations: 0.8931 MB / 1.307 GB, free: 11.92 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.9566, allocations: 245.1 kB / 1.307 GB, free: 11.68 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9566, allocations: 0 / 1.307 GB, free: 11.68 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.9567, allocations: 47.92 kB / 1.307 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.9583, allocations: 378.4 kB / 1.308 GB, free: 11.28 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/0.9648, allocations: 5.451 MB / 1.313 GB, free: 5.477 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.9653, allocations: 0.9408 MB / 1.314 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004372/0.9657, allocations: 146.1 kB / 1.314 GB, free: 4.363 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.966, allocations: 231.4 kB / 1.314 GB, free: 4.137 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/0.966, allocations: 0 / 1.314 GB, free: 4.137 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/1.005, allocations: 17.98 MB / 1.332 GB, free: 2.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.363, allocations: 14.91 kB / 1.332 GB, free: 2.527 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches