Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.006351/0.006351, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001558/0.001558, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.185/2.185, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6902, allocations: 140.4 MB / 1.087 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1985/0.8887, allocations: 187.3 MB / 1.27 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.9032, allocations: 13.08 MB / 1.283 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.9043, allocations: 31.81 kB / 1.283 GB, free: 5.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.9055, allocations: 433.1 kB / 1.284 GB, free: 4.941 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.9082, allocations: 1.155 MB / 1.285 GB, free: 3.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.9099, allocations: 0.7051 MB / 1.285 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.9121, allocations: 2.028 MB / 1.287 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009892/0.9131, allocations: 0.8317 MB / 1.288 GB, free: 204 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.9167, allocations: 1.813 MB / 1.29 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.918, allocations: 0.6705 MB / 1.291 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.9181, allocations: 80 kB / 1.291 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.9197, allocations: 0.8653 MB / 1.292 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.9201, allocations: 391 kB / 1.292 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.9207, allocations: 0.4976 MB / 1.292 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.9224, allocations: 1.499 MB / 1.294 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9225, allocations: 0 / 1.294 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9225, allocations: 0 / 1.294 GB, free: 10.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.9225, allocations: 0 / 1.294 GB, free: 10.38 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001667/0.9241, allocations: 1.239 MB / 1.295 GB, free: 9.086 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.9242, allocations: 8.031 kB / 1.295 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.9243, allocations: 126.5 kB / 1.295 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.9255, allocations: 222.6 kB / 1.295 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.9265, allocations: 0.6677 MB / 1.296 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.9266, allocations: 54 kB / 1.296 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.9267, allocations: 91.83 kB / 1.296 GB, free: 7.875 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.9279, allocations: 0.9288 MB / 1.297 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.928, allocations: 3.938 kB / 1.297 GB, free: 6.859 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.928, allocations: 39.94 kB / 1.297 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.9281, allocations: 33.3 kB / 1.297 GB, free: 6.789 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/0.929, allocations: 0.6138 MB / 1.298 GB, free: 6.176 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.003935/0.9329, allocations: 4.578 MB / 1.302 GB, free: 1.305 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.9337, allocations: 0.5468 MB / 1.303 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.934, allocations: 240.8 kB / 1.303 GB, free: 484 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.9342, allocations: 104.9 kB / 1.303 GB, free: 360 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.9342, allocations: 42.56 kB / 1.303 GB, free: 308 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.9342, allocations: 0 / 1.303 GB, free: 308 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.00255/0.9368, allocations: 1.588 MB / 1.305 GB, free: 14.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.9369, allocations: 110.8 kB / 1.305 GB, free: 14.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.9376, allocations: 0.7157 MB / 1.306 GB, free: 13.79 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.9377, allocations: 41.7 kB / 1.306 GB, free: 13.74 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.9379, allocations: 415.7 kB / 1.306 GB, free: 13.33 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.9381, allocations: 165.7 kB / 1.306 GB, free: 13.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.9382, allocations: 118.2 kB / 1.306 GB, free: 13.05 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9383, allocations: 326 kB / 1.307 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.9386, allocations: 189.2 kB / 1.307 GB, free: 12.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.9391, allocations: 417 kB / 1.307 GB, free: 12.04 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.9412, allocations: 1.186 MB / 1.308 GB, free: 10.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9412, allocations: 0 / 1.308 GB, free: 10.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009246/0.9421, allocations: 0.6715 MB / 1.309 GB, free: 10.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9422, allocations: 10.19 kB / 1.309 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9422, allocations: 8 kB / 1.309 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9422, allocations: 8.719 kB / 1.309 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.9426, allocations: 127.8 kB / 1.309 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.9427, allocations: 15.98 kB / 1.309 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.9432, allocations: 27.94 kB / 1.309 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.9433, allocations: 31.98 kB / 1.309 GB, free: 9.844 MB / 1.045 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003281/0.9436, allocations: 273.5 kB / 1.309 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.9438, allocations: 83 kB / 1.309 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.9439, allocations: 87.67 kB / 1.31 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.9439, allocations: 11.94 kB / 1.31 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9439, allocations: 3.984 kB / 1.31 GB, free: 9.375 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006631/0.9446, allocations: 0.696 MB / 1.31 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.9468, allocations: 1.635 MB / 1.312 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.9469, allocations: 4.5 kB / 1.312 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.9473, allocations: 107.8 kB / 1.312 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.9473, allocations: 8 kB / 1.312 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.9474, allocations: 16 kB / 1.312 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.9474, allocations: 4 kB / 1.312 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.9474, allocations: 7.938 kB / 1.312 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/0.9484, allocations: 0.8691 MB / 1.313 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.9487, allocations: 208.1 kB / 1.313 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.9488, allocations: 15.98 kB / 1.313 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.9492, allocations: 18.59 kB / 1.313 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.9493, allocations: 47.83 kB / 1.313 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.9493, allocations: 20 kB / 1.313 GB, free: 5.449 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000565/0.9499, allocations: 0.5107 MB / 1.314 GB, free: 4.945 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9499, allocations: 0 / 1.314 GB, free: 4.945 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006784/0.9506, allocations: 200 kB / 1.314 GB, free: 4.75 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001496/0.9521, allocations: 1.501 MB / 1.315 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007318/0.9528, allocations: 481.2 kB / 1.316 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9528, allocations: 0 / 1.316 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.9531, allocations: 211.6 kB / 1.316 GB, free: 2.512 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.9551, allocations: 495.6 kB / 1.316 GB, free: 2.039 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/0.9627, allocations: 6.609 MB / 1.323 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.9632, allocations: 1.028 MB / 1.324 GB, free: 9.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000615/0.9638, allocations: 199 kB / 1.324 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.9642, allocations: 307.3 kB / 1.324 GB, free: 9.48 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.9642, allocations: 0 / 1.324 GB, free: 9.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/1.009, allocations: 22.22 MB / 1.346 GB, free: 3.672 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.624/9.633, allocations: 3.859 kB / 1.346 GB, free: 3.668 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches