Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.004659/0.004659, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001273/0.001273, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 72.06 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2923, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7704/1.063, allocations: 187.3 MB / 1.424 GB, free: 8.426 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01653/1.079, allocations: 13.08 MB / 1.437 GB, free: 13.82 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/1.08, allocations: 33 kB / 1.437 GB, free: 13.81 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/1.082, allocations: 421.2 kB / 1.438 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/1.085, allocations: 1.148 MB / 1.439 GB, free: 12.55 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/1.086, allocations: 0.7118 MB / 1.439 GB, free: 12.01 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00241/1.089, allocations: 2.01 MB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/1.09, allocations: 0.8388 MB / 1.442 GB, free: 10.11 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/1.094, allocations: 1.938 MB / 1.444 GB, free: 8.164 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/1.096, allocations: 0.6598 MB / 1.445 GB, free: 7.516 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/1.096, allocations: 80 kB / 1.445 GB, free: 7.438 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/1.098, allocations: 0.8692 MB / 1.446 GB, free: 6.566 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/1.098, allocations: 379 kB / 1.446 GB, free: 6.195 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005947/1.099, allocations: 0.4976 MB / 1.447 GB, free: 5.695 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/1.101, allocations: 1.502 MB / 1.448 GB, free: 4.188 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.101, allocations: 0 / 1.448 GB, free: 4.188 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.222e-06/1.101, allocations: 0 / 1.448 GB, free: 4.188 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.185e-05/1.101, allocations: 0 / 1.448 GB, free: 4.188 MB / 1.139 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.001875/1.103, allocations: 1.265 MB / 1.449 GB, free: 2.871 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.103, allocations: 12.03 kB / 1.449 GB, free: 2.859 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/1.103, allocations: 118.5 kB / 1.449 GB, free: 2.734 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.104, allocations: 227.1 kB / 1.45 GB, free: 2.512 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.105, allocations: 0.6837 MB / 1.45 GB, free: 1.785 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/1.105, allocations: 58 kB / 1.45 GB, free: 1.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.105, allocations: 83.98 kB / 1.45 GB, free: 1.648 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/1.107, allocations: 0.9288 MB / 1.451 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/1.107, allocations: 11.92 kB / 1.451 GB, free: 0.6211 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/1.107, allocations: 31.94 kB / 1.451 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/1.107, allocations: 29.31 kB / 1.451 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/1.108, allocations: 0.6138 MB / 1.452 GB, free: 15.95 MB / 1.154 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.004607/1.113, allocations: 4.677 MB / 1.457 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/1.113, allocations: 0.5332 MB / 1.457 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/1.114, allocations: 251.1 kB / 1.457 GB, free: 10.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.114, allocations: 104.9 kB / 1.457 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.114, allocations: 42.56 kB / 1.457 GB, free: 9.957 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/1.114, allocations: 0 / 1.457 GB, free: 9.957 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.002844/1.117, allocations: 1.62 MB / 1.459 GB, free: 8.277 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/1.117, allocations: 106.8 kB / 1.459 GB, free: 8.148 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/1.118, allocations: 0.7155 MB / 1.46 GB, free: 7.422 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/1.118, allocations: 33.7 kB / 1.46 GB, free: 7.383 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/1.118, allocations: 424.5 kB / 1.46 GB, free: 6.961 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/1.118, allocations: 178.5 kB / 1.46 GB, free: 6.785 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.119, allocations: 118.2 kB / 1.461 GB, free: 6.664 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.119, allocations: 338 kB / 1.461 GB, free: 6.328 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/1.119, allocations: 185.2 kB / 1.461 GB, free: 6.145 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/1.12, allocations: 413 kB / 1.461 GB, free: 5.648 MB / 1.154 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.002378/1.122, allocations: 1.185 MB / 1.463 GB, free: 4.363 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.122, allocations: 0 / 1.463 GB, free: 4.363 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001069/1.123, allocations: 0.6689 MB / 1.463 GB, free: 3.688 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.123, allocations: 15.94 kB / 1.463 GB, free: 3.672 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.123, allocations: 8 kB / 1.463 GB, free: 3.664 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.123, allocations: 8.875 kB / 1.463 GB, free: 3.656 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/1.124, allocations: 127.8 kB / 1.463 GB, free: 3.531 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.124, allocations: 11.94 kB / 1.463 GB, free: 3.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/1.124, allocations: 23.98 kB / 1.463 GB, free: 3.496 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/1.124, allocations: 28 kB / 1.463 GB, free: 3.469 MB / 1.154 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.0003691/1.125, allocations: 278.4 kB / 1.464 GB, free: 3.188 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/1.125, allocations: 91.42 kB / 1.464 GB, free: 3.098 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/1.125, allocations: 92.16 kB / 1.464 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.125, allocations: 11.94 kB / 1.464 GB, free: 2.992 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.125, allocations: 0 / 1.464 GB, free: 2.992 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007839/1.126, allocations: 0.6988 MB / 1.465 GB, free: 2.207 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/1.128, allocations: 1.639 MB / 1.466 GB, free: 472 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.128, allocations: 7.938 kB / 1.466 GB, free: 468 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/1.129, allocations: 99.83 kB / 1.466 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/1.129, allocations: 11.94 kB / 1.466 GB, free: 356 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/1.129, allocations: 15.98 kB / 1.466 GB, free: 340 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/1.129, allocations: 4 kB / 1.466 GB, free: 336 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.129, allocations: 12.31 kB / 1.466 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.13, allocations: 0.869 MB / 1.467 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/1.13, allocations: 216.5 kB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.13, allocations: 16 kB / 1.467 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/1.131, allocations: 19.92 kB / 1.467 GB, free: 15.11 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/1.131, allocations: 39.84 kB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/1.131, allocations: 23.98 kB / 1.467 GB, free: 15.05 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006422/1.132, allocations: 0.5068 MB / 1.468 GB, free: 14.55 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.132, allocations: 0 / 1.468 GB, free: 14.55 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007025/1.132, allocations: 200 kB / 1.468 GB, free: 14.35 MB / 1.17 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.001803/1.134, allocations: 1.502 MB / 1.47 GB, free: 12.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008244/1.135, allocations: 480.2 kB / 1.47 GB, free: 12.33 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.135, allocations: 4 kB / 1.47 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/1.135, allocations: 214.3 kB / 1.47 GB, free: 12.12 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.138, allocations: 485.7 kB / 1.471 GB, free: 11.66 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008772/1.146, allocations: 6.643 MB / 1.477 GB, free: 4.621 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/1.147, allocations: 1.032 MB / 1.478 GB, free: 3.562 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0006477/1.148, allocations: 199 kB / 1.478 GB, free: 3.363 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/1.148, allocations: 299.3 kB / 1.479 GB, free: 3.07 MB / 1.17 GB Notification: Performance of SimCode: time 4.6e-07/1.148, allocations: 0 / 1.479 GB, free: 3.07 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05263/1.201, allocations: 22.24 MB / 1.5 GB, free: 13.23 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.136/10.34, allocations: 4.5 kB / 1.5 GB, free: 13.23 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches