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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007892/0.007892, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.001958/0.001958, allocations: 194 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8262/1.114, allocations: 187.3 MB / 1.403 GB, free: 3.051 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01579/1.13, allocations: 13.08 MB / 1.415 GB, free: 8.453 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/1.131, allocations: 33.81 kB / 1.415 GB, free: 8.441 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/1.133, allocations: 435.2 kB / 1.416 GB, free: 8.078 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/1.136, allocations: 1.202 MB / 1.417 GB, free: 7.141 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/1.138, allocations: 0.7138 MB / 1.418 GB, free: 6.59 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002965/1.141, allocations: 2.019 MB / 1.42 GB, free: 5.434 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.142, allocations: 0.8527 MB / 1.421 GB, free: 4.91 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/1.146, allocations: 1.873 MB / 1.422 GB, free: 3.688 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/1.147, allocations: 0.6664 MB / 1.423 GB, free: 3.289 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/1.147, allocations: 81.25 kB / 1.423 GB, free: 3.289 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/1.149, allocations: 0.8687 MB / 1.424 GB, free: 2.836 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/1.15, allocations: 386 kB / 1.424 GB, free: 2.586 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005265/1.15, allocations: 0.4951 MB / 1.425 GB, free: 2.262 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/1.152, allocations: 1.5 MB / 1.426 GB, free: 1.281 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.152, allocations: 7.938 kB / 1.426 GB, free: 1.273 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.61e-07/1.152, allocations: 0 / 1.426 GB, free: 1.273 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.152, allocations: 0 / 1.426 GB, free: 1.273 MB / 1.107 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.001674/1.154, allocations: 1.258 MB / 1.428 GB, free: 288 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.154, allocations: 14.09 kB / 1.428 GB, free: 284 kB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/1.154, allocations: 126.2 kB / 1.428 GB, free: 176 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.155, allocations: 218.6 kB / 1.428 GB, free: 72 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/1.156, allocations: 0.6819 MB / 1.429 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/1.156, allocations: 62.72 kB / 1.429 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.157, allocations: 74.38 kB / 1.429 GB, free: 15.47 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/1.158, allocations: 0.9391 MB / 1.43 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.158, allocations: 2.969 kB / 1.43 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/1.158, allocations: 35.62 kB / 1.43 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/1.158, allocations: 33.83 kB / 1.43 GB, free: 14.76 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.159, allocations: 0.6183 MB / 1.43 GB, free: 14.31 MB / 1.123 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.004266/1.163, allocations: 4.587 MB / 1.435 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/1.164, allocations: 0.5493 MB / 1.435 GB, free: 8.832 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/1.164, allocations: 252.5 kB / 1.436 GB, free: 8.578 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/1.165, allocations: 97.09 kB / 1.436 GB, free: 8.465 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.165, allocations: 42.5 kB / 1.436 GB, free: 8.414 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/1.165, allocations: 0 / 1.436 GB, free: 8.414 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.002697/1.167, allocations: 1.624 MB / 1.437 GB, free: 6.734 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.167, allocations: 110.8 kB / 1.437 GB, free: 6.602 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/1.168, allocations: 0.7116 MB / 1.438 GB, free: 5.883 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/1.168, allocations: 33.64 kB / 1.438 GB, free: 5.844 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/1.169, allocations: 432.5 kB / 1.438 GB, free: 5.414 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/1.169, allocations: 170.6 kB / 1.439 GB, free: 5.246 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.169, allocations: 122.2 kB / 1.439 GB, free: 5.121 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.169, allocations: 330 kB / 1.439 GB, free: 4.793 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/1.169, allocations: 185.2 kB / 1.439 GB, free: 4.609 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/1.17, allocations: 425 kB / 1.44 GB, free: 4.102 MB / 1.123 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.002307/1.172, allocations: 1.17 MB / 1.441 GB, free: 2.828 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.172, allocations: 4 kB / 1.441 GB, free: 2.824 MB / 1.123 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009638/1.173, allocations: 0.68 MB / 1.441 GB, free: 2.137 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.173, allocations: 11.94 kB / 1.441 GB, free: 2.125 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.173, allocations: 4 kB / 1.441 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.173, allocations: 12 kB / 1.441 GB, free: 2.109 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/1.174, allocations: 119.8 kB / 1.442 GB, free: 1.992 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/1.174, allocations: 23.86 kB / 1.442 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/1.174, allocations: 21.88 kB / 1.442 GB, free: 1.949 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/1.174, allocations: 31.98 kB / 1.442 GB, free: 1.918 MB / 1.123 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.0003319/1.175, allocations: 276.1 kB / 1.442 GB, free: 1.641 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.175, allocations: 87.42 kB / 1.442 GB, free: 1.555 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/1.175, allocations: 87.77 kB / 1.442 GB, free: 1.469 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.175, allocations: 7.984 kB / 1.442 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.175, allocations: 0 / 1.442 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00068/1.176, allocations: 0.7027 MB / 1.443 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.178, allocations: 1.651 MB / 1.444 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.178, allocations: 4 kB / 1.444 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/1.178, allocations: 95.89 kB / 1.445 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.178, allocations: 8.438 kB / 1.445 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/1.179, allocations: 16.62 kB / 1.445 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/1.179, allocations: 11.94 kB / 1.445 GB, free: 14.78 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.179, allocations: 4 kB / 1.445 GB, free: 14.78 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.18, allocations: 0.8742 MB / 1.445 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/1.18, allocations: 204.5 kB / 1.446 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.18, allocations: 23.92 kB / 1.446 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/1.181, allocations: 16.16 kB / 1.446 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/1.181, allocations: 43.89 kB / 1.446 GB, free: 13.54 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/1.181, allocations: 20 kB / 1.446 GB, free: 13.52 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005748/1.181, allocations: 0.5068 MB / 1.446 GB, free: 13.01 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.81e-07/1.181, allocations: 0 / 1.446 GB, free: 13.01 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00069/1.182, allocations: 200 kB / 1.446 GB, free: 12.82 MB / 1.139 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.001861/1.184, allocations: 1.52 MB / 1.448 GB, free: 11.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0007676/1.185, allocations: 480.8 kB / 1.448 GB, free: 10.78 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.185, allocations: 0 / 1.448 GB, free: 10.78 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/1.185, allocations: 212 kB / 1.449 GB, free: 10.57 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.187, allocations: 476.5 kB / 1.449 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008215/1.195, allocations: 6.65 MB / 1.455 GB, free: 3.062 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.196, allocations: 1.024 MB / 1.456 GB, free: 2.012 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006267/1.196, allocations: 199 kB / 1.457 GB, free: 1.812 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/1.197, allocations: 299.3 kB / 1.457 GB, free: 1.52 MB / 1.139 GB Notification: Performance of SimCode: time 8.52e-07/1.197, allocations: 0 / 1.457 GB, free: 1.52 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/1.243, allocations: 22.24 MB / 1.479 GB, free: 11.69 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/10.22, allocations: 6.766 kB / 1.479 GB, free: 11.68 MB / 1.17 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 50 --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