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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001336/0.001336, allocations: 108 kB / 15.6 MB, free: 132 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.001129/0.00113, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 60.67 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.25, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1731/0.4231, allocations: 187.1 MB / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4928/0.9159, allocations: 13 MB / 1.259 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.9169, allocations: 32.66 kB / 1.259 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.9183, allocations: 414.5 kB / 1.26 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.9208, allocations: 0.923 MB / 1.26 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.9229, allocations: 0.7014 MB / 1.261 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.9249, allocations: 1.503 MB / 1.263 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.9259, allocations: 0.6518 MB / 1.263 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.9294, allocations: 1.72 MB / 1.265 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.9305, allocations: 0.5045 MB / 1.265 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-05/0.9306, allocations: 54.03 kB / 1.265 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.9321, allocations: 0.8685 MB / 1.266 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.9324, allocations: 278.8 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.9328, allocations: 388.4 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.9341, allocations: 1.148 MB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9342, allocations: 1.031 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9342, allocations: 1.094 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.9342, allocations: 0 / 1.268 GB, free: 4.473 MB / 0.9981 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.001374/0.9356, allocations: 1.049 MB / 1.269 GB, free: 19.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.9356, allocations: 12.25 kB / 1.269 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.9357, allocations: 103.2 kB / 1.269 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.9366, allocations: 194.1 kB / 1.269 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.9373, allocations: 0.5194 MB / 1.27 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.9377, allocations: 104.3 kB / 1.27 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.9377, allocations: 61.75 kB / 1.27 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.9388, allocations: 0.7772 MB / 1.271 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.9388, allocations: 9.516 kB / 1.271 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.9388, allocations: 25.73 kB / 1.271 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.9389, allocations: 23.86 kB / 1.271 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.9398, allocations: 472.3 kB / 1.271 GB, free: 19.15 MB / 1.014 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.003661/0.9435, allocations: 4.407 MB / 1.276 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.9436, allocations: 107.2 kB / 1.276 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.9438, allocations: 75.64 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.9439, allocations: 93.27 kB / 1.276 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.944, allocations: 39.41 kB / 1.276 GB, free: 15.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.944, allocations: 0.5312 kB / 1.276 GB, free: 15.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006662/0.9447, allocations: 245.3 kB / 1.276 GB, free: 15.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.9447, allocations: 132.4 kB / 1.276 GB, free: 15.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.9459, allocations: 0.8526 MB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.946, allocations: 28.16 kB / 1.277 GB, free: 15.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.9462, allocations: 405.8 kB / 1.277 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.9463, allocations: 36.39 kB / 1.278 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.9464, allocations: 92.97 kB / 1.278 GB, free: 14.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9465, allocations: 324 kB / 1.278 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.9469, allocations: 117.7 kB / 1.278 GB, free: 14.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.9473, allocations: 365.6 kB / 1.278 GB, free: 14.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.9479, allocations: 444.8 kB / 1.279 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9479, allocations: 2.562 kB / 1.279 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009755/0.9489, allocations: 0.5065 MB / 1.279 GB, free: 14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9489, allocations: 9.031 kB / 1.279 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.9489, allocations: 8.859 kB / 1.279 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.9489, allocations: 11.81 kB / 1.279 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.9493, allocations: 100.8 kB / 1.279 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.9493, allocations: 19.45 kB / 1.279 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.95, allocations: 120.7 kB / 1.28 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.95, allocations: 23.73 kB / 1.28 GB, free: 13.95 MB / 1.014 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.0002425/0.9503, allocations: 235.9 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.9504, allocations: 74.78 kB / 1.28 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.9506, allocations: 74.42 kB / 1.28 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.9506, allocations: 3.062 kB / 1.28 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.9506, allocations: 5.938 kB / 1.28 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.9506, allocations: 2.938 kB / 1.28 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.9519, allocations: 1.121 MB / 1.281 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.9519, allocations: 6.562 kB / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.952, allocations: 17.78 kB / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.9521, allocations: 4.562 kB / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.9521, allocations: 4.125 kB / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.9521, allocations: 6.812 kB / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9521, allocations: 4.281 kB / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.9524, allocations: 263.6 kB / 1.281 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.9526, allocations: 175.4 kB / 1.282 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.9527, allocations: 8.828 kB / 1.282 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.9531, allocations: 19.17 kB / 1.282 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.9531, allocations: 19.66 kB / 1.282 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.9531, allocations: 6.375 kB / 1.282 GB, free: 12.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001006/0.9542, allocations: 0.5905 MB / 1.282 GB, free: 12.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9542, allocations: 1.203 kB / 1.282 GB, free: 12.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000618/0.9548, allocations: 159.3 kB / 1.282 GB, free: 12.67 MB / 1.014 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.0008298/0.9556, allocations: 0.8861 MB / 1.283 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.9562, allocations: 252.8 kB / 1.283 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9562, allocations: 1 kB / 1.283 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.9562, allocations: 47.67 kB / 1.283 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.9578, allocations: 382.4 kB / 1.284 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.9645, allocations: 5.72 MB / 1.289 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.965, allocations: 0.9428 MB / 1.29 GB, free: 8.637 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005759/0.9656, allocations: 154.5 kB / 1.29 GB, free: 8.602 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.9658, allocations: 229 kB / 1.291 GB, free: 8.594 MB / 1.014 GB Notification: Performance of SimCode: time 6.02e-07/0.9658, allocations: 0 / 1.291 GB, free: 8.594 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/1.006, allocations: 17.83 MB / 1.308 GB, free: 7.234 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.754, allocations: 11.77 kB / 1.308 GB, free: 7.227 MB / 1.014 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 50 --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